Traceable · API Governance Rules
Traceable API Rules
Spectral linting rules defining API design standards and conventions for Traceable.
10 Rules
error 5
warn 5
Rule Categories
traceable
Rules
warn
traceable-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][*].summary
error
traceable-operation-ids-required
All operations must have an operationId.
$.paths[*][*]
warn
traceable-operation-description-required
All operations must have a description.
$.paths[*][*]
error
traceable-bearer-auth-required
All operations must require Bearer token authentication.
$.components.securitySchemes.bearerAuth
warn
traceable-tags-required
All operations must be tagged.
$.paths[*][*]
error
traceable-graphql-request-body
GraphQL endpoint must define a requestBody with query field.
$.paths['/graphql'][post]
error
traceable-response-200-defined
All operations must define a 200 or 201 success response.
$.paths[*][*].responses
warn
traceable-response-401-defined
All operations must define a 401 unauthorized response.
$.paths[*][*].responses
error
traceable-graphql-schema-required
GraphQLRequest schema must define the query field as required.
$.components.schemas.GraphQLRequest.required
warn
traceable-mcp-tool-enum
MCPRequest tool field must enumerate valid tool names.
$.components.schemas.MCPRequest.properties.tool