Spiceworks · API Governance Rules
Spiceworks API Rules
Spectral linting rules defining API design standards and conventions for Spiceworks.
8 Rules
error 2
warn 6
Rule Categories
spiceworks
Rules
warn
spiceworks-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spiceworks-tags-title-case
All tags must use Title Case
$.tags[*].name
error
spiceworks-operation-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
error
spiceworks-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
spiceworks-operation-description
All operations must have a description
$.paths[*][get,post,put,patch,delete]
warn
spiceworks-path-kebab-case
Path segments must use kebab-case
$.paths[*]~
warn
spiceworks-response-200-schema
GET operations must define a 200 response schema
$.paths[*].get.responses.200.content
warn
spiceworks-security-defined
All operations should have security defined
$.paths[*][get,post,put,patch,delete]