Runloop · API Governance Rules
Runloop API Rules
Spectral linting rules defining API design standards and conventions for Runloop.
8 Rules
error 1
warn 5
Rule Categories
runloop
Rules
warn
runloop-bearer-auth-required
All Runloop operations require the bearerAuth security scheme.
$.paths[*][get,post,put,patch,delete]
warn
runloop-v1-prefix
Public Runloop endpoints live under /v1/.
$.paths
warn
runloop-snake-case-path-params
Runloop uses snake_case for path parameter names.
$.paths[*][*].parameters[?(@.in == "path")].name
warn
runloop-snake-case-query-params
Runloop uses snake_case for query parameter names.
$.paths[*][*].parameters[?(@.in == "query")].name
error
runloop-operation-id-required
Every operation must have an operationId so SDK generators can produce method names.
$.paths[*][get,post,put,patch,delete]
hint
runloop-title-case-summary
Operation summaries use Title Case.
$.paths[*][get,post,put,patch,delete].summary
hint
runloop-canonical-tags
Use canonical Runloop tags.
$.paths[*][get,post,put,patch,delete].tags[*]
warn
runloop-canonical-server
Servers list must include https://api.runloop.ai.
$.servers[*].url