Mercado Pago · API Governance Rules
Mercado Pago API Rules
Spectral linting rules defining API design standards and conventions for Mercado Pago.
8 Rules
error 5
warn 3
Rule Categories
mercado
Rules
warn
mercado-pago-title-case-summary
All operation summaries must use Title Case.
$.paths[*][get,post,put,delete,patch].summary
error
mercado-pago-operation-id-required
All operations must define an operationId.
$.paths[*][get,post,put,delete,patch]
error
mercado-pago-operation-tag-required
Every operation must be tagged.
$.paths[*][get,post,put,delete,patch]
error
mercado-pago-bearer-security
Bearer security must be defined at the document root.
$
error
mercado-pago-server-https
Every server URL must use HTTPS.
$.servers[*].url
warn
mercado-pago-idempotency-key-on-mutations
POST / PUT operations should document an X-Idempotency-Key header.
$.paths[*][post,put].description
error
mercado-pago-no-trailing-slash
Paths must not end with a trailing slash.
$.paths
warn
mercado-pago-error-responses
Mutating operations should declare at least one 4xx response.
$.paths[*][post,put,delete].responses