【Introduction to Swagger UI】

Swagger UI allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your Swagger specification, with the visual documentation making it easy for back end implementation and client side consumption.

 

In order to manage the API interface in the project conveniently, I found a lot of information about API interface management on the Internet. I feel that the most popular one is Swagger, which has powerful functions, beautiful UI interface, and supports online testing, etc.



 

What is Swagger?

The goal of Swagger™ is to define a standard, language-independent interface for REST APIs that enables humans and computers to discover and understand services without seeing source code or documentation or through network traffic inspection. Function. When services are defined through Swagger, consumers can interact with remote services through a small amount of implementation logic. Similar to low-level programming interfaces, Swagger takes a lot of the guesswork out of calling services. 

 

 

The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.



 

Swagger-core is the Java implementation of Swagger. Current version supports JAX-RS and plain servlets. Integration with the Play! framework has been moved to Swagger-Play.

 

Check out Swagger-Spec for additional information about the Swagger project, including additional libraries with support for SpringMVC, other languages and more.

 

Swagger is a simple but powerful representation of Rest APIs that is standard, language agnostic, not only human readable but also machine readable. It can be used as an interactive document of Rest API or as a formal interface description of Rest API to generate client and server code. 

 

Swagger the following:

Swagger API Spec, the language for describing Rest APIs

Swagger UI, a module that displays Swagger API Spec as HTML pages

Swagger Editor, editor for Swagger API Spec

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326562075&siteId=291194637