concept openapi in category swagger

appears as: OpenAPI, openapi, OpenAPI
Designing APIs with Swagger and OpenAPI

This is an excerpt from Manning's book Designing APIs with Swagger and OpenAPI.

In this chapter we’ll take a look at the world of APIs and OpenAPI, so that we can get comfortable with the topics of this book. We’ll start by taking a look at the benefits of describing an API, how it forms part of an API ecosystem and where OpenAPI fits in. We’ll look at an example of an OpenAPI document and when to use OpenAPI in practice.

Figure 7.7. Different security scheme types in OpenAPI 3.0.0
ch07 openapi security types

In the previous chapter, we created a domain model. That model is an informal, high-level representation of the concepts underlying the PetSitter application. In the implementation stage of the project, we will develop a frontend and a backend part, connected with an API. Hence, we now have to bridge the gap between these two, and we do this with the formal description of the API using OpenAPI.

Listing 10.3. Minimal PetSitter OpenAPI file
openapi: 3.0.0
info:
  title: PetSitter API
  version: "0.1"
paths: {}