trello · API Governance Rules
trello API Rules
Spectral linting rules defining API design standards and conventions for trello.
11 Rules
error 3
warn 7
info 1
Rule Categories
trello
Rules
warn
trello-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
trello-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
trello-security-defined
All operations must define security requirements
$.paths[*][get,post,put,patch,delete]
error
trello-response-200-get
All GET operations must define a 200 response
$.paths[*].get
warn
trello-tag-defined
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
info
trello-api-key-auth
Trello uses API key and token query parameter authentication
$.components.securitySchemes
warn
trello-path-kebab-case
API paths should use kebab-case
$.paths[*]~
warn
trello-response-400-defined
Operations with request bodies should define a 400 response
$.paths[*][post,put,patch]
warn
trello-delete-response
DELETE operations should return 200 or 204
$.paths[*].delete
warn
trello-post-request-body
POST operations that create resources should define a request body
$.paths[*].post
error
trello-no-query-strings-in-path
Query string parameters must not appear in path definitions
$.paths[*]~