Rithum · API Governance Rules
Rithum API Rules
Spectral linting rules defining API design standards and conventions for Rithum.
11 Rules
error 2
warn 7
info 2
Rule Categories
dsco
Rules
warn
dsco-operation-has-tag
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
error
dsco-operation-has-summary
All operations must have a summary
$.paths[*][get,post,put,patch,delete]
warn
dsco-operation-has-description
All operations should have a description
$.paths[*][get,post,put,patch,delete]
error
dsco-operation-has-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
dsco-operation-id-camel-case
OperationIds should use camelCase
$.paths[*][get,post,put,patch,delete].operationId
warn
dsco-responses-have-error-schema
Error responses should reference a schema
$.paths[*][*].responses[4*,5*].content[*]
warn
dsco-post-has-request-body
POST operations should have a requestBody
$.paths[*].post
warn
dsco-bearer-auth-defined
Security scheme should be BearerAuth
$.components.securitySchemes[*]
info
dsco-batch-request-has-array
Batch request schemas should contain array properties
$.components.schemas[*BatchRequest]
warn
dsco-path-uses-kebab-case
API paths should use kebab-case
$.paths[*]~
info
dsco-schema-has-description
Schema properties should have descriptions
$.components.schemas[*].properties[*]