Tray.io · API Governance Rules
Tray.io API Rules
Spectral linting rules defining API design standards and conventions for Tray.io.
6 Rules
error 1
warn 5
Rule Categories
tray
Rules
warn
tray-io-operation-id-camel-case
Operation IDs should use camelCase naming convention consistent with Tray.io API conventions (e.g., listConnectors, callConnector).
$.paths[*][*].operationId
error
tray-io-bearer-auth-required
All Tray.io API endpoints require Bearer token authentication.
$.paths[*][*]
warn
tray-io-response-success-defined
All operations should define a successful response (200 or 204).
$.paths[*][get,post,put,patch,delete].responses
warn
tray-io-401-defined
All Tray.io operations should document the 401 Unauthorized response.
$.paths[*][get,post,put,patch,delete].responses
warn
tray-io-description-required
All operations should include a description.
$.paths[*][*]
warn
tray-io-tags-required
All operations should have at least one tag.
$.paths[*][*].tags