Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment. This is a brief introduction about Swagger adoption. This documentation is written based on SpringBoot.
Import Swagger and UI
Import Swagger and its embed UI by maven dependency:
In the provided UI page, user could try the API out and read the API description, request and response parameters. Since Swagger is annotated in the API code, developer could also save a lot of time and effort maintaining the API documentation. Hence it is a very convenient tool for both developer and API users.