Sendbird · API Governance Rules
Sendbird API Rules
Spectral linting rules defining API design standards and conventions for Sendbird.
9 Rules
error 2
warn 6
info 1
Rule Categories
sendbird
Rules
warn
sendbird-summary-title-case
Operation summaries must use Title Case.
$.paths[*][*].summary
warn
sendbird-api-token-auth
All operations must use Api-Token authentication.
$.paths[*][*]
error
sendbird-server-https
All server URLs must use HTTPS.
$.servers[*].url
warn
sendbird-operationid-camelcase
OperationId must be camelCase.
$.paths[*][*].operationId
error
sendbird-response-200-defined
Operations must have a 200 response.
$.paths[*][get,post,put,patch].responses
warn
sendbird-tags-required
Operations must include at least one tag.
$.paths[*][*].tags
warn
sendbird-error-schema
API must define an Error schema in components.
$.components.schemas
warn
sendbird-info-contact
API info must include contact information.
$.info
info
sendbird-paths-snake-case-query-params
Query parameters should use snake_case.
$.paths[*][*].parameters[?(@.in == 'query')].name