Swagger create a new method
I started using swagger yesterday and i want to create an API with activitiies, resources and courses as paths.
I made a class diagram for what i want to do but i have one problem. I should create a method "search" (for example /course/search ? query = "test") that will give me all the courses available that have the name "test" or their id.
And with this id, i want to have a list of all the activities available for this course.
I'm really struggling with it cause i'm used to java or c++ and i hope someone will help me solve it.
Thank you for reading !
Re: Swagger create a new method
From my understanding, Swagger helps you document your API. It doesn't allow developing API.
Please watch the 101 training video describing the basics of SwaggerHub:
SmartBear Community and Education Manager
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️