February 2018
Intermediate to advanced
246 pages
6h 3m
English
OpenAPI lets us define RESTful APIs in a standardized manner, and they can be defined without being tied down to any particular programming language or framework being used. This provides us with a powerful abstraction to define an API that can have the initial implementation of the RESTful server in Java or Python; also we can port the codebase to Go, with little to no change in the behavior of the service.
Let's list the general structure of an OpenAPI specification and use it to redefine the Books API described in Chapter 4, The RESTful Web.
If we look at the Books API title, we can define the following elements to describe the API:
Read now
Unlock full access