Amazon Aurora DSQL · API Governance Rules
Amazon Aurora DSQL API Rules
Spectral linting rules defining API design standards and conventions for Amazon Aurora DSQL.
17 Rules
error 6
warn 9
info 2
Rule Categories
aurora
no
path
schema
security
servers
Rules
warn
aurora-dsql-operation-id-camel-case
All operationIds must be camelCase
$.paths[*][*].operationId
warn
aurora-dsql-summary-prefix
All operation summaries must start with Amazon Aurora DSQL
$.paths[*][*].summary
warn
aurora-dsql-has-tags
All operations must have tags
$.paths[*][*]
error
aurora-dsql-response-200
All operations must have a 200 response
$.paths[*][*].responses
error
aurora-dsql-cluster-status-enum
ClusterStatus must use valid enum values
$.components.schemas.ClusterStatus
error
aurora-dsql-security-sigv4
API must use sigv4 security scheme
$.security[*]
warn
aurora-dsql-server-url-fixed
Server URL must be fixed without variables
$.servers[*]
warn
aurora-dsql-example-microcks-default
All examples must have x-microcks-default set to true
$.paths[*][*].responses[*].content[*].examples.default
error
aurora-dsql-multi-region-linked-list-required
CreateMultiRegionClustersInput must require linkedRegionList
$.components.schemas.CreateMultiRegionClustersInput
error
aurora-dsql-cluster-identifier-string
ClusterSummary identifier must be string type
$.components.schemas.ClusterSummary.properties.identifier
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
info
path-params-casing
Path parameters should be snake_case (the dominant convention in this API).
$.paths[*].parameters[?(@.in=='path')].name
warn
schema-names-casing
Component schema names should be PascalCase (the dominant convention in this API).
$.components.schemas
info
schema-properties-casing
Schema properties should be camelCase (the dominant convention in this API).
$.components.schemas[*].properties
warn
security-schemes-defined
Security schemes should be defined in components.
$.components
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description