dLocal · API Governance Rules
dLocal API Rules
Spectral linting rules defining API design standards and conventions for dLocal.
6 Rules
warn 4
Rule Categories
dlocal
Rules
warn
dlocal-summary-title-case
Operation summaries should be in Title Case.
$.paths.*[get,put,post,delete,patch].summary
warn
dlocal-server-base-url
dLocal APIs must declare production and sandbox servers.
$.servers[*].url
hint
dlocal-iso-currency
Currency fields should reference ISO-4217 three-letter codes.
$.components.schemas.*.properties.currency
hint
dlocal-iso-country
Country fields should reference ISO 3166-1 alpha-2 codes.
$.components.schemas.*.properties.country
warn
dlocal-authorization-security
Every operation should declare security via the dLocal signature or bearer scheme.
$.paths.*[get,put,post,delete,patch]
warn
dlocal-notification-url-uri
notification_url and callback_url fields must be format uri.
$..properties[?(@property === 'notification_url' || @property === 'callback_url')]