Spin · API Governance Rules
Spin API Rules
Spectral linting rules defining API design standards and conventions for Spin.
7 Rules
error 2
warn 5
Rule Categories
spin
Rules
warn
spin-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spin-tags-title-case
All tags must use Title Case
$.tags[*].name
error
spin-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
spin-operation-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
spin-operation-description
All operations should have a description
$.paths[*][get,post,put,patch,delete]
warn
spin-schema-descriptions
All schema properties should have descriptions
$.components.schemas[*].properties[*]
warn
spin-info-contact
API info should include contact details
$.info