regal-entertainment-group · API Governance Rules
regal-entertainment-group API Rules
Spectral linting rules defining API design standards and conventions for regal-entertainment-group.
8 Rules
error 2
warn 6
Rule Categories
regal
Rules
warn
regal-operation-ids-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
regal-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
regal-paths-kebab-case
Path segments must use kebab-case
$.paths
warn
regal-v1-prefix
All paths must be prefixed with /v1/
$.paths
error
regal-requires-api-key-security
All operations must require the ApiKeyAuth security scheme
$.paths[*][*]
error
regal-operations-have-summaries
All operations must have a summary
$.paths[*][*]
warn
regal-response-200-has-schema
Successful GET responses must define a schema
$.paths[*].get.responses.200.content[*]
warn
regal-error-schema-defined
Error responses must reference the Error schema
$.paths[*][*].responses[?(@property >= '400')].content[*]