Arch Coal · API Governance Rules
Arch Coal API Rules
Spectral linting rules defining API design standards and conventions for Arch Coal.
13 Rules
error 10
warn 3
Rule Categories
get
info
openapi
operation
parameter
response
security
servers
Rules
error
info-title-arch-coal-prefix
API title must start with "Arch Coal"
$.info
warn
info-description-required
API must have a description
$.info
error
openapi-version-3
Use OpenAPI 3.0.x
$
error
servers-defined
Server URLs must be defined
$
error
servers-https
Server URLs must use HTTPS
$.servers[*]
error
operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,delete,patch]
error
operation-summary-required
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
warn
operation-summary-prefix
Operation summaries should start with "Arch Coal"
$.paths[*][get,post,put,delete,patch]
error
operation-tags-required
All operations must have tags
$.paths[*][get,post,put,delete,patch]
warn
parameter-description-required
Parameters must have descriptions
$.paths[*][*].parameters[*]
error
response-success-required
Operations must define success responses
$.paths[*][get,post,put,delete,patch].responses
error
security-schemes-defined
Security schemes must be defined
$.components
error
get-no-request-body
GET operations must not have request bodies
$.paths[*].get