RAWG · API Governance Rules
RAWG API Rules
Spectral linting rules defining API design standards and conventions for RAWG.
8 Rules
error 2
warn 4
info 2
Rule Categories
rawg
Rules
warn
rawg-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
rawg-operation-must-have-tags
Every operation must have at least one tag
$.paths[*][*]
warn
rawg-path-kebab-case
Path segments should use kebab-case
$.paths[*]~
warn
rawg-apikey-required
All operations must declare the key query parameter
$.paths[*][get].parameters[*]
error
rawg-responses-200-required
All GET operations must define a 200 response
$.paths[*].get
info
rawg-pagination-parameters
List operations should support page and page_size parameters
$.paths[*].get
warn
rawg-no-trailing-slash
Paths must not have trailing slashes
$.paths[*]~
info
rawg-operationid-consistent-naming
OperationIds should follow provider pattern of resource_action
$.paths[*][*].operationId