Walt Disney · API Governance Rules
Walt Disney API Rules
Spectral linting rules defining API design standards and conventions for Walt Disney.
9 Rules
error 5
warn 4
Rule Categories
disney
Rules
error
disney-operation-ids-required
All operations must have an operationId
$.paths[*][*]
warn
disney-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
disney-operation-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
disney-pagination-parameters
List endpoints should support page and pageSize parameters
$.paths[*].get.parameters
error
disney-info-description
Info object must have a description
$.info
error
disney-response-200-defined
GET operations must define a 200 response
$.paths[*].get.responses
warn
disney-response-schema-reference
Successful responses should reference a schema
$.paths[*][*].responses['200'].content['application/json']
warn
disney-schemas-in-components
Schemas should be defined in components for reuse
$.components
error
disney-server-defined
At least one server must be defined
$