arcade-dev · API Governance Rules
arcade-dev API Rules
Spectral linting rules defining API design standards and conventions for arcade-dev.
7 Rules
error 3
warn 4
Rule Categories
arcade
Rules
error
arcade-base-server
The base server URL must be https://api.arcade.dev.
$.servers[*].url
error
arcade-v1-prefix
All Arcade Engine paths are versioned under /v1/.
$.paths.*~
warn
arcade-summary-title-case
Operation summaries should use Title Case.
$.paths.*.*.summary
warn
arcade-snake-case-properties
JSON property names in Arcade schemas use snake_case.
$.components.schemas.*.properties.*~
warn
arcade-operation-id-camel-case
operationId should be lowerCamelCase.
$.paths.*.*.operationId
error
arcade-response-2xx-required
Every operation must define at least one 2xx response.
$.paths.*.*.responses
warn
arcade-error-envelope
Error responses (4xx/5xx) should reference the Arcade Error schema.
$.paths.*.*.responses[?(@property.match(/^[45]\d\d$/))].content.application/json.schema