EBANX · API Governance Rules
EBANX API Rules
Spectral linting rules defining API design standards and conventions for EBANX.
9 Rules
error 5
warn 4
Rule Categories
ebanx
Rules
error
ebanx-info-contact
EBANX specs must include a contact block.
$.info
error
ebanx-info-version
EBANX specs must declare an info.version.
$.info
error
ebanx-server-defined
Every EBANX OpenAPI spec must declare both sandbox and production servers.
$.servers
warn
ebanx-only-post
EBANX REST operations are exposed as POST endpoints under /ws/* — flag non-POST methods.
$.paths[*][?(@property != 'post')]
warn
ebanx-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][*].summary
error
ebanx-operation-id-camel-case
operationId must be camelCase.
$.paths[*][*].operationId
warn
ebanx-operation-description
Every operation must include a description.
$.paths[*][*]
error
ebanx-security-integration-key
Every spec must declare the integrationKey security scheme.
$.components.securitySchemes.integrationKey
warn
ebanx-no-trailing-slash
Paths must not end with a trailing slash.
$.paths