Reflect · API Governance Rules
Reflect API Rules
Spectral linting rules defining API design standards and conventions for Reflect.
6 Rules
error 2
warn 3
info 1
Rule Categories
reflect
Rules
warn
reflect-operation-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
warn
reflect-api-key-auth
Reflect API uses X-API-KEY header authentication.
$.components.securitySchemes[*][?(@.type=='apiKey')]
warn
reflect-tags-defined
All operations must include at least one tag.
$.paths[*][*]
error
reflect-servers-defined
API must define at least one server.
$
error
reflect-response-200-defined
All operations must define a 200 success response.
$.paths[*][*].responses
info
reflect-integer-ids
Reflect uses integer IDs for tests and executions (not UUIDs). Path parameters should reflect this.
$.paths[*][*].parameters[?(@.in=='path')]