Forethought · API Governance Rules
Forethought API Rules
Spectral linting rules defining API design standards and conventions for Forethought.
5 Rules
error 4
warn 1
Rule Categories
forethought
Rules
warn
forethought-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,put,post,delete,patch].summary
error
forethought-operation-id-required
Every operation must have an operationId.
$.paths[*][get,put,post,delete,patch]
error
forethought-operation-tags-required
Every operation must declare at least one tag.
$.paths[*][get,put,post,delete,patch]
error
forethought-bearer-auth-required
Forethought APIs use Bearer token authentication.
$.components.securitySchemes[*]
error
forethought-server-is-https
Server URLs must be HTTPS.
$.servers[*].url