Home Spring boot Spring boot Swagger Configuration

Spring boot Swagger Configuration

4 min read
0
0
60

in this tutorial help you to learn Swagger Configuration. in earlier spring testing purpose we used postman tool. this tool is good but we have to install and and every testing need open and check it.instead of we can Swagger . it is best one just only add the dependencies  in to the pom.xml file only its works.

i attached the video below how to Configure Swagger.

you have to add these dependencies  on pom.xml.

  1. maven springfox-swagger2
  2. maven springfox-swagger-ui

 

after that you to create the package config inside the package create the class as SwaggerConfig.

inside the class paste the code.

After that one more thing have do it.go to the main Spring boot application and paste this annotation @EnableSwagger2

i attached the full code below.

i have attached the video link below. which will do this tutorials step by step

 

 

Load More Related Articles
Load More By admin
Load More In Spring boot

Leave a Reply

Your email address will not be published.

Check Also

Java Money Counter Calculator App

In this tutorials will teach Java Money Counter Calculator App step by step. Paste the cod…