Swagger - OpenAPI Specification (OAS)



Swagger is obsolete and the current is known as OpenAPI Specification (OAS).

Swagger API project was created in 2011 the basic necessity for the tool evolved from automation of API documentation and client SDK generation. Swagger API project was made open source in September 2011. On 1 January 2016, the Swagger specification was renamed to OpenAPI Specification. OAS was  based on the Swagger Specification


How does OAS helps?
  1. OAS is sponsored by Linux foundation and supported by industry leaders including Google, IBM, and Microsoft who are founding members.
  2. its widely used for defining and creating RESTful APIs and most popular open source framework.
  3. OAS declarative resource specification helps clients understand the API's usage for easily developing and consuming an API by effectively mapping all the resources and operations associated with it.
Swagger and OAS Go Hand-in-Hand. The Swagger tools helps business and technical people to begin their journey with the OpenAPI Specification. Using swagger tools to build, document, test and consume APIs. It can be used design and then develop the code or can utilise the existing APIs and generate the documentation.

Swagger Tools
Swagger Codegen : Generate server stubs and client SDKs from OpenAPI Specification definitions Swagger Editor : API editor for designing APIs with the OpenAPI Specification. 
Swagger UI : Visualize OpenAPI Specification definitions in an interactive UI.





From Swagger.io

Swagger Editor
Design, describe, and document your API on the first open source editor fully dedicated to OpenAPI-based APIs. The Swagger Editor is an easy way to get started with the OpenAPI Specification (formerly known as Swagger), with support for Swagger 2.0 and OpenAPI 3.0.

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 OpenAPI (formerly known as Swagger) Specification, with the visual documentation making it easy for back end implementation and client side consumption.

Next Read : Installing Swagger on Docker containers.

Post a Comment

0 Comments