Yapily · API Governance Rules
Yapily API Rules
Spectral linting rules defining API design standards and conventions for Yapily.
7 Rules
error 4
warn 3
Rule Categories
yapily
Rules
error
yapily-info-contact
Yapily OpenAPI specs must declare a contact section.
$.info
error
yapily-server-https
Yapily servers must use https://api.yapily.com.
$.servers[*].url
error
yapily-basic-auth-required
Yapily endpoints require basicAuth security.
$.components.securitySchemes
warn
yapily-summary-title-case
Operation summaries should be title cased.
$.paths.*[get,post,put,delete,patch].summary
error
yapily-tag-defined
Every operation must be tagged.
$.paths.*[get,post,put,delete,patch]
warn
yapily-operation-id-camel
operationId must be camelCase.
$.paths.*[get,post,put,delete,patch].operationId
warn
yapily-consent-header-on-data
Endpoints under /accounts and /payments should document the consent header parameter.
$.paths[?(@property.match(/^\/(accounts|payments|account-requests|payment-auth-requests|vrp)/))].*.parameters