githubEdit

Documentation

There are many specifications as well as tools that follow those specifications for documenting APIs. The 2 most common API Description Languagesarrow-up-right are OpenAPI arrow-up-right(previously known as the Swagger Specifications) and RAML arrow-up-right(RESTful API Modeling Language). The OpenAPI specification created by Swaggerarrow-up-right is the most common and most popular among the API Description Languages. We will be using the OpenAPI specification in our application to document our RESTful API later in this book.

Both the OpenAPI and RAML official specifications and documentations are available online. Take some time to read through some of it to decide which would suit your documentation style.

https://swagger.io/specification
https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md

Last updated