AWS Braket · API Governance Rules
AWS Braket API Rules
Spectral linting rules defining API design standards and conventions for AWS Braket.
7 Rules
error 4
warn 3
Rule Categories
aws
Rules
error
aws-braket-info-contact
Every Braket OpenAPI spec must declare the AWS Support contact.
$.info.contact
error
aws-braket-server-https
All Braket service endpoints must be https.
$.servers[*].url
warn
aws-braket-server-hostname
Braket endpoints must use the braket.{region}.amazonaws.com hostname.
$.servers[*].url
warn
aws-braket-summary-title-case
Operation summaries must be Title Case and prefixed with "AWS Braket".
$.paths[*][get,post,put,delete,patch].summary
error
aws-braket-operation-id-camel
operationId must be camelCase.
$.paths[*][get,post,put,delete,patch].operationId
error
aws-braket-sigv4-security
Braket APIs must declare SigV4 security at the root.
$.security
warn
aws-braket-tags-defined
Each path-level tag must be defined at the spec root.
$.paths[*][get,post,put,delete,patch].tags[*]