Spin.AI · API Governance Rules
Spin.AI API Rules
Spectral linting rules defining API design standards and conventions for Spin.AI.
8 Rules
error 3
warn 5
Rule Categories
spin
Rules
warn
spin-ai-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spin-ai-tags-title-case
All tags must use Title Case
$.tags[*].name
error
spin-ai-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
spin-ai-operation-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
spin-ai-operation-description
All operations must have a description
$.paths[*][get,post,put,patch,delete]
warn
spin-ai-path-versioned
All API paths should be versioned with /api/v1/ prefix
$.paths[*]~
error
spin-ai-security-required
All operations must require authentication
$.paths[*][get,post,put,patch,delete]
warn
spin-ai-request-body-schema
POST and PUT operations must have a request body schema
$.paths[*][post,put].requestBody