Tripetto · API Governance Rules
Tripetto API Rules
Spectral linting rules defining API design standards and conventions for Tripetto.
8 Rules
error 2
warn 5
info 1
Rule Categories
tripetto
Rules
warn
tripetto-operation-id-format
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
tripetto-require-tags
All operations must have at least one tag
$.paths[*][*]
warn
tripetto-response-200-has-content
200 responses must have a content body
$.paths[*][*].responses['200']
warn
tripetto-require-description
All operations must have a description
$.paths[*][*]
warn
tripetto-path-kebab-case
Path segments must use kebab-case
$.paths[*]~
error
tripetto-no-trailing-slash
Paths must not have trailing slashes
$.paths[*]~
error
tripetto-bearer-auth-defined
API must define Bearer authentication scheme
$.components.securitySchemes
info
tripetto-schema-properties-have-description
Schema properties should have descriptions
$.components.schemas[*].properties[*]