Amazon Aurora · API Governance Rules
Amazon Aurora API Rules
Spectral linting rules defining API design standards and conventions for Amazon Aurora.
20 Rules
error 9
warn 11
Rule Categories
aurora
no
schema
security
servers
Rules
warn
aurora-operation-id-camel-case
All operationIds must be camelCase
$.paths[*][*].operationId
warn
aurora-summary-prefix
All operation summaries must start with Amazon Aurora
$.paths[*][*].summary
warn
aurora-has-tags
All operations must have tags
$.paths[*][*]
error
aurora-response-200
All operations must have a 200 response
$.paths[*][*].responses
error
aurora-create-cluster-required
CreateDBClusterInput must require DBClusterIdentifier and Engine
$.components.schemas.CreateDBClusterInput
error
aurora-engine-enum
Engine must use valid enum values for Aurora
$.components.schemas.CreateDBClusterInput.properties.Engine
error
aurora-endpoint-type-enum
CreateDBClusterEndpoint EndpointType must use valid enum values
$.components.schemas.CreateDBClusterEndpointInput.properties.EndpointType
error
aurora-security-sigv4
API must use sigv4 security scheme
$.security[*]
warn
aurora-server-url-fixed
Server URL must be fixed without variables
$.servers[*]
warn
aurora-example-microcks-default
All examples must have x-microcks-default set to true
$.paths[*][*].responses[*].content[*].examples.default
error
aurora-db-cluster-identifier-string
DBCluster DBClusterIdentifier must be string type
$.components.schemas.DBCluster.properties.DBClusterIdentifier
error
aurora-filter-values-array
Filter Values must be an array
$.components.schemas.Filter.properties.Values
error
aurora-global-cluster-identifier-string
GlobalCluster GlobalClusterIdentifier must be string type
$.components.schemas.GlobalCluster.properties.GlobalClusterIdentifier
warn
aurora-snapshot-status-defined
DBClusterSnapshot Status must be defined
$.components.schemas.DBClusterSnapshot.properties
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
schema-names-casing
Component schema names should be PascalCase (the dominant convention in this API).
$.components.schemas
warn
schema-properties-casing
Schema properties should be PascalCase (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