OpenAPI 3.0 Tutorial| Swagger Tutorial For Beginners | Design REST API Using Swagger Editor
HTML-код
- Опубликовано: 3 окт 2024
- Open API (OpenAPI 3.0) tutorial to design and document Restful API using Swagger Editor. This swagger tutorial for beginners explains with a use-case how to design REST API with OpenAPI 3.0 specifications using Swagger Editor which is an open-source Swagger Tool for REST APIs documentation and designing.
This Swagger API tutorial explains how to define API resources using YAML and design REST APIs with POST and GET methods with Open API Specifications.
For more tutorials, visit tutorialspedia.com
For more tutorials on various integration tools & technologies, visit tutorialspedia.com
Dude's default browsing mode is incognito. Legend!
Great Tutorial. Fabulous job 👏👏
Incredible tutorial. Really well explained and clarified questions that I've had for ages.
Excellent job, saw 5 hours video on udemy and I don't have such time... u did the job in less than 30, thanks!
Very good step by step explanation. worth to watch
Good step by step explanation, Thanks!
Very helpful video - really liked how you went through every step!
Thank you for this - perfect level of detail and very nicely explained
Excellent style of teaching. Thanks! :)
Thank you ! Really good Tutorial and easy way of demonstrating.
Thank you for such a thorough Demo, very useful
big thanks to you! your videos help me a lot!
Great tutorial showing how to create a swagger file from the scratch step by step!
Very Nice Tutorial, one doubt:- at 22:40 it Should be Student ? instead of Students as we are getting individual student?
For a GET request with student id as path variable, you will get one student only but he declared the schema with array of students for that request that's why he used students component, this is just a demo you are thinking the right way. Don't get confused.
Very helpful , Hope you will make further tutorials in future.
Very nice tutorial
Great tutorial.. Thanx Ajmal
greatly appreciate this!
Excellent tutorial.
Good
super video sir.
Thanks for the wonderful video. Is it possible to generate yaml file automatically from spring boot application
Thanks a lot! Great video!
Why is the ID parameter returning an array of students? Isn’t ID unique
Hi. How to see the API's URLs running?. Thanks.
thanks bro
well explained
How could you open the options of keywords? I mean if you jump on the other line you re pressing some key and the list of keywords are showing how. Cam you do that
Just wow
Very helpful. Thank you. Just one question. I need to document XML over MQ API. Can we use Swagger for this? if not, are there any other tools ?
Thanks - very helpful.
How can i Use this in my Spring boot Applicatiopn?Thanks for the nice video
Thanks!
Please suggest where I could get this finished YAML. Want to try this out myself.
What else is required for me to be able to try this? Some sample URLs, servers, etc?
This video shows only creating a Swagger file.
So far it is just a GUI to document APIs.
Post creation how to ship it?
What is its format ?
Is it just a JSON text file or an executable?
How to consume it by the front end team?
Could the fe team invoke it and get a sample response, rather than invoking the actual apis?
How about DELETE?
Nice video
Is there any documentation on the keywords?
thank you
Hi.. I am not getting the pop-up intellisense when typing ..I fully have to type every keyword..how to you enable pop-up ?
how about using it as a dependency injection and just setting it in your code? any videos for that will surely help. thanks a lot
Nice tutorial . But can you make another one within integration of real java application and creating a server side and customer too ?
Thanks for your feedback. I will try to cover implementation of the API soon.
thanks you !!
This is a decent tutorial but at the end it does not follow the DRY principle. The students array should be of type array and the items should be a ref to a student component.
editor goes blank when I type servers : url.. Any suggestion on why that might be
Very nice video. How can we add multiple response schemas for a single route? For example, if a route returns different types of JSON with different properties for different set conditions.
sir how can i add this accept: application/json ?
For Get Operation, you can specify content type for the response using:
produces:
- "application/xml"
And for POST, you can also provide content type for request payload as well. E.g. for a POST operation expecting JSON input and having JSON response, it should be like:
consumes:
- "application/json"
produces:
- "application/json"
Here, I can not found answers, what I'm looking for. I have several queries. It will really help me if anyone can answer.
1) Suppose, I have a schema for Project model which contains 20 properties. Now for my project-dropdown API I only need 3 properties from the schema then how I can refer the schema and pick few properties only?
2) I have 2 schemas, one for Project with 20 properties and another one is Task with 10 properties. Now for ProjectDetails API I have response something like { id: 1, name: "ProjectName", tasks: [ {id: 1, name: "TaskName"} ] } Now how I can accomplish this nested object by referring both individual schema which are Project and Task
3) Can I have search box in Swagger UI to filter APIs?
Can someone share how to map response with Spring framework Page.
Eg: Page
Hey! What is the difference between the first GET method and the second? Why does the second GET method return an array?
Thanks for this informative video. How about server side logic ? Do you have another video about that ?