HTTP JSON Endpoints
Document HTTP JSON APIs with the application/json
content type
Endpoints in OpenAPI are defined underneath the paths
key. Below is an example of defining
a single endpoint:
openapi.yml
Examples
You can provide examples of requests and responses by using the examples
key.
openapi.yml