Remote · API Governance Rules
Remote API Rules
Spectral linting rules defining API design standards and conventions for Remote.
10 Rules
error 4
warn 6
Rule Categories
remote
Rules
error
remote-info-title-must-include-remote
Every Remote OpenAPI spec title must start with "Remote".
$.info.title
error
remote-server-must-be-gateway-remote
Production server must be the Remote API gateway.
$.servers[?(@.description == 'Production')].url
warn
remote-sandbox-server-must-be-gateway-sandbox
Sandbox server must be the Remote sandbox gateway.
$.servers[?(@.description == 'Sandbox')].url
warn
remote-summary-must-be-title-case
Operation summaries must use Title Case.
$.paths.*.*.summary
error
remote-paths-must-be-snake-case
Remote paths use snake_case for resource segments.
$.paths
warn
remote-must-use-bearer-auth
Remote APIs (except OAuth endpoints) must declare BearerAuth security.
$.components.securitySchemes.BearerAuth
warn
remote-error-responses-required
Operations must declare 401 and 429 responses.
$.paths..responses
error
remote-no-trailing-slash
Paths must not end with a trailing slash.
$.paths
warn
remote-uuid-path-params
Path parameters ending in "_id" must declare uuid format.
$.paths..parameters[?(@.in == 'path' && @.name =~ /_id$/)].schema
warn
remote-tag-must-be-title-case
Tags must use Title Case.
$.tags[*].name