Amadeus Traveler Media · API Governance Rules

Amadeus Traveler Media API Rules

Spectral linting rules defining API design standards and conventions for Amadeus Traveler Media.

12 Rules error 9 warn 2 info 1
View Rules File View on GitHub

Rule Categories

get info operation parameter response schema servers

Rules

error
info-title-required
API title must be present.
$.info
error
info-description-required
API must have a description.
$.info
error
info-version-required
API version must be present.
$.info
error
servers-https
Server URLs must use HTTPS.
$.servers[*].url
error
operation-summary-required
Every operation must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
operation-summary-amadeus-prefix
Operation summaries must start with Amadeus.
$.paths[*][get,post,put,patch,delete].summary
error
operation-id-required
Every operation must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
operation-tags-required
Every operation must have tags.
$.paths[*][get,post,put,patch,delete]
warn
parameter-description-required
Parameters should have descriptions.
$.paths[*][*].parameters[*]
error
response-description-required
Responses must have descriptions.
$.paths[*][*].responses[*]
error
get-no-request-body
GET operations must not have request bodies.
$.paths[*].get
info
schema-description
Top-level schemas should have descriptions.
$.components.schemas[*]