Booking Holdings · API Governance Rules
Booking Holdings API Rules
Spectral linting rules defining API design standards and conventions for Booking Holdings.
5 Rules
error 1
warn 4
Rule Categories
no
operationid
security
servers
Rules
error
servers-https-only
Server URLs must use HTTPS.
$.servers[*].url
warn
servers-expected-domain
Server URLs should be on the booking.com domain.
$.servers[*].url
warn
operationid-casing
Operation IDs should be camelCase (the dominant convention in this API).
$.paths[*][get,post,put,patch,delete].operationId
warn
security-schemes-defined
Security schemes should be defined in components.
$.components
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description