Visa · API Governance Rules
Visa API Rules
Spectral linting rules defining API design standards and conventions for Visa.
10 Rules
error 4
warn 5
info 1
Rule Categories
visa
Rules
warn
visa-operation-id-camel-case
Visa API operation IDs must use camelCase
$.paths[*][*].operationId
error
visa-tags-required
All operations must have tags for API categorization
$.paths[*][*]
warn
visa-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
visa-description-required
All operations must have descriptions
$.paths[*][*]
error
visa-https-servers
All Visa API servers must use HTTPS
$.servers[*].url
warn
visa-mutual-tls-security
Visa APIs should use mutual TLS for authentication
$.components.securitySchemes
error
visa-operation-id-required
All operations must have an operationId for SDK generation
$.paths[*][*]
warn
visa-contact-in-info
All Visa APIs should have contact information
$.info
warn
visa-400-response-defined
All POST operations should define a 400 bad request response
$.paths[*][post].responses
info
visa-external-docs
Each API should link to its Visa Developer portal documentation
$