Reloadly · API Governance Rules
Reloadly API Rules
Spectral linting rules defining API design standards and conventions for Reloadly.
10 Rules
error 6
warn 4
Rule Categories
reloadly
Rules
error
reloadly-operation-ids-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
reloadly-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
reloadly-tags-required
Every operation must have at least one tag
$.paths[*][*]
error
reloadly-bearer-auth-required
API must define bearerAuth security scheme
$.components.securitySchemes
warn
reloadly-pagination-parameters
Collection endpoints must support page and size parameters
$.paths[*].get
error
reloadly-error-response-defined
Operations must define 401 error responses
$.paths[?(!/@oauth)][*]
warn
reloadly-response-200-schema
Successful responses must have a schema
$.paths[*][*].responses[200,201].content.application/json
error
reloadly-request-body-schema
POST/PUT request bodies must have schemas
$.paths[*][post,put].requestBody.content.application/json
error
reloadly-audience-parameter
Token request must include audience parameter
$.paths['/oauth/token'].post.requestBody.content.application/json.schema.required
warn
reloadly-path-kebab-case
Path segments must use kebab-case
$.paths