Stadia Maps · API Governance Rules
Stadia Maps API Rules
Spectral linting rules defining API design standards and conventions for Stadia Maps.
9 Rules
error 3
warn 5
info 1
Rule Categories
stadia
Rules
warn
stadia-maps-operation-ids-kebab-case
Operation IDs must use kebab-case
$.paths[*][*].operationId
error
stadia-maps-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
stadia-maps-summaries-title-case
Operation summaries should use sentence case starting with a capital letter
$.paths[*][*].summary
error
stadia-maps-security-required
All operations must declare security (API key required)
$.paths[*][*]
error
stadia-maps-api-key-scheme
API must use ApiKeyAuth security scheme
$.components.securitySchemes
warn
stadia-maps-versioned-paths
All paths should include a version segment (e.g., /v1)
$.paths
warn
stadia-maps-json-responses
200 responses should return application/json content type
$.paths[*][*].responses['200'].content
warn
stadia-maps-post-request-bodies
POST operations should define a request body
$.paths[*][post]
info
stadia-maps-descriptions-present
All operations should have a description
$.paths[*][*]