Tillo · API Governance Rules
Tillo API Rules
Spectral linting rules defining API design standards and conventions for Tillo.
7 Rules
error 2
warn 3
info 2
Rule Categories
tillo
Rules
warn
tillo-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
info
tillo-versioned-paths
All paths must be part of the v2 base URL
$.servers[*]
error
tillo-operation-summary
All operations must have a summary
$.paths[*][*]
warn
tillo-operation-tags
All operations must have tags
$.paths[*][*]
info
tillo-client-request-id
POST operations that issue or modify gift cards should include client_request_id in the request body for idempotency
$.paths[*][post]
warn
tillo-status-in-response
All successful responses should include a status field
$.paths[*][*].responses.200.content.application/json.schema.properties
error
tillo-hmac-auth
API must use HMAC authentication scheme
$.components.securitySchemes