Amazon Private CA · API Governance Rules
Amazon Private CA API Rules
Spectral linting rules defining API design standards and conventions for Amazon Private CA.
19 Rules
error 12
warn 5
info 2
Rule Categories
info
no
openapi
operation
parameter
response
schema
security
servers
Rules
error
info-title-required
API must have a title
$.info
error
info-description-required
API must have a description
$.info
error
info-version-required
API version must be defined
$.info
error
openapi-version-3
API should use OpenAPI 3.x
$.openapi
error
servers-defined
Servers must be defined
$
error
operation-summary-required
All operations must have a summary
$.paths[*][post,get,put,delete,patch]
warn
operation-summary-amazon-private-ca-prefix
Summaries should start with Amazon Private CA
$.paths[*][post,get,put,delete,patch].summary
error
operation-description-required
All operations must have a description
$.paths[*][post,get,put,delete,patch]
error
operation-id-required
All operations must have an operationId
$.paths[*][post,get,put,delete,patch]
warn
operation-tags-required
All operations must have tags
$.paths[*][post,get,put,delete,patch]
error
parameter-description-required
All parameters must have descriptions
$.paths[*][*].parameters[*]
error
response-success-required
All operations must have a success response
$.paths[*][post,get,put,delete,patch]
error
response-description-required
All responses must have descriptions
$.paths[*][*].responses[*]
warn
schema-type-defined
Schemas should define a type
$.components.schemas[*]
info
schema-description-required
Schemas should have descriptions
$.components.schemas[*]
error
security-schemes-defined
Security schemes must be defined
$.components
warn
security-global-defined
Global security must be defined
$
warn
no-empty-descriptions
Descriptions must not be empty
$..description
info
operation-examples-encouraged
Consider adding examples to operation responses
$.paths[*][*].responses[*].content[*]