Skip to main content

OpenAPI

Status: experimental

Example Configuration


spec_path: "/app/openapi-specs"
tags:
- "openapi"
- "specifications"

Configuration

The following configuration options are available:

PropertyTypeRequiredDescription
awsAWSConfigfalse
external_links[]ExternalLinkfalse
global_documentation[]stringfalse
global_documentation_positionstringfalse
mergeMergeConfigfalse
metadataMetadataConfigfalse
spec_pathstringfalsePath to the directory containing the OpenAPI specifications
tagsTagsConfigfalse

Available Metadata

The following metadata fields are available:

FieldTypeDescription
contact_emailstringContact email
contact_namestringContact name
contact_urlstringContact URL
deprecatedboolIs this endpoint deprecated
descriptionstringDescription of the API
descriptionstringA verbose explanation of the operation behaviour.
external_docsstringLink to the external documentation
http_methodstringHTTP method
license_identifierstringSPDX license experession for the API
license_namestringName of the license
license_urlstringURL of the license
num_deprecated_endpointsintNumber of deprecated endpoints in the OpenAPI specification
num_endpointsintNumber of endpoints in the OpenAPI specification
openapi_versionstringVersion of the OpenAPI spec
operation_idstringUnique identifier of the operation
pathstringPath
servers[]stringURL of the servers of the API
service_namestringName of the service that owns the resource
service_versionstringVersion of the service
status_codes[]stringAll HTTP response status codes that are returned for this endpoint.
summarystringA short summary of what the operation does
terms_of_servicestringLink to the page that describes the terms of service