An Application Programming Interface (API) is a contract for how two software components will communicate with one another.
openapi.yaml or openapi.json# openapi.yaml
openapi: # Version 3.1.0
info: # Includes the title, summary, description
description: |
## Overview
The Description field supports Markdown
## Versioning
* v1 = Initial release
* v2 = Added new features
## Error Handling
| **Status Code** | **Description** |
|-----------------|-----------------|
| 400 | Bad request |
servers: # List of API server URLs
tags: # List of tags for API categorization
security: # Security scheme supported by the API
externalDocs: # Link to external documentation
paths: # List of API endpoint paths and operations
components: # List of schemas (request, response, ...)$ref and components