REST API Documentation using Swagger2 in Spring Boot | Tech Primers

preview_player
Показать описание
This video covers how to integrate Swagger 2 UI for REST API Documentation in Spring Boot.

📌 Related Playlist
================

🎬Video Editing: iMovie

🎼Background Music: Broke For Free - Day Bird
The Passion HiFi - What We Came To Do

---------------------------------------------------------------
🔥 Disclaimer/Policy:
The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
You are free to use the code samples in Github after forking and you can modify it for your own use.
All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
#Swagger2 #SpringBoot #TechPrimers
Рекомендации по теме
Комментарии
Автор

Thanks for the tutorial, my rest api just accepts query parameter i.e ?param = value, so I don't want swagger to ask for any parameters, how can I do that.. Plz help

dakshu
Автор

Dude,

Few points
1. The background is really awesome,
2. I really learned some good stuff although I know swagger2,
3. You need to explain in the swaggerConfig what is regex and how did you coded for it? because default paths only accepts the PathSelectors,
4. Some of the attributes have changed For e.g. description for @Api OR ApiInfo constructor args have changed but i guess you are unable to update the videos which is understood considering the vast no. of videos you are making,
5. Hands down very good videos for anybody to keep learning.

Thanks a lot.

muks
Автор

Nice tutorial. Instead of placing annotations in resource classes. We can create interface and place all api annotations on top of the methods in interface
And implement that interface in the resource. Is this a good way of implementating swagger in separate interfaces ?

gundamaiahannamaina
Автор

Your video is like any beginner can easily understand....Thanks for your effort

rohitkr.maurya
Автор

Great Tech Primers good job please make more video on Rest Webservices with Spring Rest WebServices

photo_lab
Автор

Great Video .. I have one question that is if the application is using security like spring security then how the swagger authorize users. Please Suggest.

parasbishwakarma
Автор

great tutorial! after days and days of looking for a good explanation you did it in less than half an hour. thank you!

ItamarLev
Автор

the video explaination is very good but the background sound is very annoying. Its not needed . Thanks

poojas
Автор

how user will know request structure ?....can't it show sample request structure ?

GauravSharma-wbse
Автор

Another awesome video from TechPrimers. Thank you. We have implemented our REST services with OAUTH2. How to test those services from Swagger UI. I could not find much resources on it.

Vihaanhyperboy
Автор

Liked Video

Use something different every time other than Hello World

It confuses first timers

nirvanjain
Автор

Explained in a very simple way. Tried once and executed. That's all....
Thank you...

sateeshkumar-sypc
Автор

Awesome explaination! Looking forward to more content

maxlimgj
Автор

hi,
how can we send jwt token with the help of swagger for authentication?

zishan-khan
Автор

I was downloaded source from github and imported as maven project in STS tool. The Swagger UI page loading but Rest API details not shown. Can you please help me to resolve this issue.. Anything I have to do specifically for STS tool?

balakajendran
Автор

Great video !! very informative !! One quick question - I am working on adding Swagger documentation on REST Services developed by somebody else. This REST API does not have @RequestBody annotation for the Request object. When I add @RequestBody to the Request API, the API is breaking. Therefore, how can I include the REQUEST PARAMETERS in the Swagger documentation without adding @RequestBody ?

nikhilnr
Автор

Thank you for the video. It helped me a lot :)

busbusvlog
Автор

This session is a great learning guide for generating API documentation from Spring boot project. Please plan a session on building API documentation from swagger editor and then build an API based on that documentation

muzammilsiddique
Автор

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-10-23 23:11:22.558 ERROR 8166 --- [ main] :



APPLICATION FAILED TO START



Description:


An attempt was made to call a method that does not exist. The attempt was made from the following location:





The following method did not exist:





The method's class, springfox.documentation.spi.schema.contexts.ModelContext, is available from the following locations:





It was loaded from the following location:







Action:


Correct the classpath of your application so that it contains a single, compatible version of

gururaj
Автор

@Tech Primers
Please Explain how to Solve This Problem...I Tried So Many Solutions From Google, Stackoverflow etc But Still Error Not Fixed...
Can You Please Respond Bro
Caused by: Cannot invoke because the return value of is null
at

vijaykumar-gqbm