Vantiv · API Governance Rules
Vantiv API Rules
Spectral linting rules defining API design standards and conventions for Vantiv.
8 Rules
error 1
warn 6
info 1
Rule Categories
vantiv
Rules
warn
vantiv-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
vantiv-operation-ids-present
All operations must have an operationId
$.paths[*][*]
warn
vantiv-merchant-id-required
Transaction requests should include merchantId
$.components.schemas[*].properties.merchantId
info
vantiv-amount-in-cents
Transaction amounts are denominated in cents (integer)
$.components.schemas[*].properties.amount
warn
vantiv-xml-content-type
Vantiv API uses application/xml content type
$.paths[*][*].requestBody.content
warn
vantiv-tags-defined
Operations should be tagged for grouping
$.paths[*][*]
warn
vantiv-cnp-txn-id-int64
cnpTxnId fields should be int64 format
$.components.schemas[*].properties.cnpTxnId
warn
vantiv-basic-auth-scheme
Vantiv uses HTTP Basic authentication
$.components.securitySchemes.basicAuth