Speedscale · API Governance Rules
Speedscale API Rules
Spectral linting rules defining API design standards and conventions for Speedscale.
4 Rules
error 1
warn 2
info 1
Rule Categories
speedscale
Rules
error
speedscale-operationid-required
All operations should have an operationId for Speedscale CLI mapping.
$.paths[*][get,post,put,patch,delete,options,head]
warn
speedscale-response-schema-required
Operations should define response schemas for accurate mock generation.
$.paths[*][get,post,put,patch,delete].responses[200,201,202]
info
speedscale-security-defined
APIs with authentication should define security schemes for capture.
$.components
warn
speedscale-servers-defined
Server URLs should be defined for correct traffic routing in replay.
$