sensible-so · API Governance Rules
sensible-so API Rules
Spectral linting rules defining API design standards and conventions for sensible-so.
12 Rules
error 9
warn 3
Rule Categories
info
operation
path
response
security
servers
Rules
error
info-title-required
Info title must be present
$.info
error
info-description-required
Info description must be present
$.info
warn
info-contact-required
Sensible specs should expose contact info
$.info
error
servers-required
Servers block must be present
$
error
servers-production-url
At least one server must point at https://api.sensible.so/v0
$.servers[*]
error
security-bearer-required
Sensible authenticates with a bearer API key
$.components.securitySchemes
error
operation-operationid-required
Every operation must have an operationId
$.paths[*][get,post,put,patch,delete]
error
operation-summary-required
Every operation must have a summary
$.paths[*][get,post,put,patch,delete]
error
operation-tags-required
Every operation must have tags
$.paths[*][get,post,put,patch,delete]
error
response-description-required
Every response must have a description
$.paths[*][get,post,put,patch,delete].responses[*]
warn
response-429-required
Endpoints under quota must document 429 Too Many Requests
$.paths[*][post,put,patch,delete]
warn
path-snake-case
Sensible paths use snake_case (e.g. /extract_from_url, /document_types).
$.paths