Amazon Verified Access · API Governance Rules
Amazon Verified Access API Rules
Spectral linting rules defining API design standards and conventions for Amazon Verified Access.
12 Rules
error 4
warn 8
Rule Categories
info
no
operation
operationid
parameter
security
servers
Rules
error
info-title-required
Info title must be present.
$.info
warn
info-description-required
Info description must be present.
$.info
error
operation-summary-required
Every operation must have a summary.
$.paths[*][*]
warn
operation-summary-prefix
Operation summaries must start with 'Amazon Verified Access'.
$.paths[*][*].summary
error
operation-operationId-required
Every operation must have an operationId.
$.paths[*][*]
warn
operation-tags-required
Every operation must have at least one tag.
$.paths[*][*]
warn
parameter-description-required
Every parameter must have a description.
$.paths[*][*].parameters[*]
warn
security-schemes-defined
Security schemes must be defined.
$.components
error
servers-https-only
Server URLs must use HTTPS.
$.servers[*].url
warn
servers-expected-domain
Server URLs should be on the amazonaws.com domain.
$.servers[*].url
warn
operationid-casing
Operation IDs should be PascalCase (the dominant convention in this API).
$.paths[*][get,post,put,patch,delete].operationId
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description