Dexterity · API Governance Rules
Dexterity API Rules
Spectral linting rules defining API design standards and conventions for Dexterity.
8 Rules
error 4
warn 3
info 1
Rule Categories
dexterity
Rules
error
dexterity-info-contact
Dexterity APIs must declare a contact block.
$.info
error
dexterity-info-terms
Dexterity APIs must reference termsOfService.
$.info
error
dexterity-server-https
Server URLs must use HTTPS.
$.servers[*].url
warn
dexterity-operation-summary-title-case
Operation summaries must use Title Case.
$.paths..[get,post,put,patch,delete].summary
info
dexterity-operation-id-snake
operationId values use snake_case (FastAPI-style auto-IDs are accepted).
$.paths..[get,post,put,patch,delete].operationId
warn
dexterity-operation-tags-required
Every operation must be tagged.
$.paths..[get,post,put,patch,delete]
error
dexterity-response-2xx-required
Every operation must define at least one 2xx response.
$.paths..[get,post,put,patch,delete].responses
warn
dexterity-validation-error-defined
Mutating operations should document 422 validation errors.
$.paths..[post,put,patch].responses