Setup Swagger 2 In Spring boot |Setting Up Swagger 2 with a Spring REST API

preview_player
Показать описание
In this video we will learn how to setup swagger2 in spring boot application.
Swagger is an open source tool helps in api documentation.

We need to import 3 dependencies from springfox inorder to configure swagger in spring boot project.
First springfox starter ,then springfox swagger and springgox swagger-ui make sure all of them of same version number.
Then configure swagger with help of Docket Bean give base package .Thats it good to go.
#Swagger2InSpringBoot,#SwaggerInSpringBoot,#SpringBootTutorials
Рекомендации по теме
Комментарии
Автор

which springboot version are you using? Because i am using 2.5.9 its not working

ganeshhegde
Автор

Hello sir
How to access swagger after deployment in dev environment.
Not in local host, need to access through dev url.
Pls make a video or share any reference.

unknowninformation
Автор

No operations dwfined in spec am getting this in my browser...but i have apis in controller...but I can't see any

shubsrivastava
Автор

i like the video but you dont have to moan while explaining lol

grrspol
Автор

In browser, I'm getting some error saying

This application has no explicit mapping for /error so you are seeing this as a feedback.

No endpoint GET/swagger-ui/index.html

Please help

Deadpool_
visit shbcf.ru