Accessing Swagger UI
Now navigate to http://server:port/swagger-ui/index.html/.
Spring Boot – REST API Documentation using Swagger
REST stands for Representational State Transfer. REST is an architectural design pattern that defines constraints that are used in web service development. Swagger is a framework in which we can test our REST APIs for different HTTP requests i.e. :
- GET
- POST
- PUT
- DELETE
In this article, we will be discussing using Swagger for documenting APIs in Spring Boot applications.