Solo.io · API Governance Rules
Solo.io API Rules
Spectral linting rules defining API design standards and conventions for Solo.io.
9 Rules
error 2
warn 5
info 2
Rule Categories
solo
Rules
warn
solo-io-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
solo-io-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,patch,delete,options,head]
warn
solo-io-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
info
solo-io-namespace-name-path-params
Resource paths should use namespace and name path parameters
$.paths
error
solo-io-200-response-required
All GET operations must have a 200 response
$.paths[*].get.responses
warn
solo-io-response-schema-required
Successful responses must include a schema
$.paths[*][get,post].responses[200,201].content
warn
solo-io-security-defined
Operations accessing user data must define security requirements
$.paths[*][get,post,put,patch,delete]
warn
solo-io-kebab-case-paths
Path segments must use kebab-case
$.paths
info
solo-io-bearer-auth-scheme
Authentication must use bearer token scheme consistent with Solo.io OIDC
$.components.securitySchemes