Fastly · API Governance Rules
Fastly API Rules
Spectral linting rules defining API design standards and conventions for Fastly.
7 Rules
error 4
warn 2
info 1
Rule Categories
fastly
Rules
error
fastly-operation-tag-required
Every operation must have at least one tag matching a Fastly API surface.
$.paths[*][get,put,post,delete,patch,head,options]
warn
fastly-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,put,post,delete,patch,head,options].summary
warn
fastly-operationid-camel-case
operationId must be lowerCamelCase.
$.paths[*][get,put,post,delete,patch,head,options].operationId
info
fastly-fastly-key-security
Operations should be secured via the Fastly-Key API key header.
$
error
fastly-no-numeric-status-keys-without-description
Every response must have a description.
$.paths[*][get,put,post,delete,patch,head,options].responses[*]
error
fastly-server-url-https
Servers must use https.
$.servers[*].url
error
fastly-info-required
Every spec must define info.title, info.description, and info.version.
$.info