This mega large super huge specification demonstrates nearly every feature of the OpenAPI Specification v3.1.
It is not meant to be fully functional, but rather to serve as an exhaustive reference implementation.
- Server 1:https://api.example.com/{version}/flightsVariablesversion:
ApiKeyAuth (apiKey)
An API key is a token that you provide when making API calls. Include the token in a header parameter called X-API-Key.
Example: X-API-Key: 123
BasicAuth (http)
Basic authentication is a simple authentication scheme built into the HTTP protocol.
To use it, send your HTTP requests with an Authorization header that contains the word Basic
followed by a space and a base64-encoded string username:password.
Example: Authorization: Basic ZGVtbzpwQDU1dzByZA==
BearerAuth (http)
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
OAuth2Auth (oauth2)
Password OAuth Flow
Token URL: https://example.com/oauth/token
Scopes:
flight.read- Read flight dataflight.write- Modify flight data
Implicit OAuth Flow
Authorize URL: https://example.com/oauth/authorize
Scopes:
flight.read- Read flight data
Authorization Code OAuth Flow
Authorize URL: https://example.com/oauth/authorize
Token URL: https://example.com/oauth/token
Scopes:
flight.read- Read flight dataflight.write- Modify flight data
Client Credentials OAuth Flow
Token URL: https://example.com/oauth/token
Scopes:
flight.admin- Administrative access