StackOne · API Governance Rules
StackOne API Rules
Spectral linting rules defining API design standards and conventions for StackOne.
7 Rules
error 4
warn 3
Rule Categories
stackone
Rules
error
stackone-operation-ids
All operations must have an operationId
$.paths[*][*]
error
stackone-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
stackone-unified-path-prefix
Unified API paths must start with /unified/{category}/
$.paths[?(/unified/)][*]~
error
stackone-v1-server
StackOne API server must be api.stackone.com
$.servers[*].url
warn
stackone-bearer-auth
Requests must use basic authentication
$.components.securitySchemes
error
stackone-successful-response
All operations must define at least one success response
$.paths[*][*].responses
warn
stackone-plural-collection-paths
Collection resource paths must use plural nouns
$.paths[*]~