Tinybird · API Governance Rules
Tinybird API Rules
Spectral linting rules defining API design standards and conventions for Tinybird.
12 Rules
error 6
warn 4
Rule Categories
tinybird
Rules
error
tinybird-operation-ids-required
All operations must have operationId values
$.paths[*][get,post,put,delete,patch]
error
tinybird-operation-summaries-required
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
warn
tinybird-operation-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,delete,patch]
error
tinybird-versioned-paths
All paths must begin with /v0/ to indicate API versioning
$.paths
hint
tinybird-no-trailing-slash
Paths should not have trailing slashes (except root collection paths)
$.paths
error
tinybird-bearer-auth-required
APIs must define bearer token security scheme
$.components.securitySchemes.bearerAuth
error
tinybird-response-200-defined
All GET operations must define a 200 response
$.paths[*].get
warn
tinybird-error-responses-defined
Operations should define 401 unauthorized responses
$.paths[*][post,put,delete,patch]
hint
tinybird-schemas-have-descriptions
Schema objects should have descriptions
$.components.schemas[*]
warn
tinybird-kebab-case-operation-ids
Operation IDs must use camelCase (Tinybird convention)
$.paths[*][get,post,put,delete,patch].operationId
warn
tinybird-info-contact-defined
API info must include contact information
$.info
error
tinybird-servers-defined
API must define server URLs
$