Composio · API Governance Rules
Composio API Rules
Spectral linting rules defining API design standards and conventions for Composio.
10 Rules
error 4
warn 5
info 1
Rule Categories
composio
Rules
error
composio-info-contact
API contact information must be present.
$.info
warn
composio-info-terms
API terms of service must be declared.
$.info
error
composio-server-https
All server URLs must use HTTPS.
$.servers[*].url
warn
composio-server-versioned
Server URLs must include the /api/v3 segment.
$.servers[*].url
error
composio-apikey-security
An x-api-key header security scheme must be defined.
$.components.securitySchemes
warn
composio-operation-tags
Every operation must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
composio-operation-summary
Every operation must include a short summary.
$.paths[*][get,post,put,patch,delete]
error
composio-operation-id
Every operation must declare a unique operationId.
$.paths[*][get,post,put,patch,delete]
warn
composio-error-responses
Mutating operations should declare 4xx error responses.
$.paths[*][post,put,patch,delete].responses
info
composio-resource-naming
Resource path segments should use camelCase, matching the v3 surface.
$.paths