Routific · API Governance Rules
Routific API Rules
Spectral linting rules defining API design standards and conventions for Routific.
4 Rules
error 1
warn 3
Rule Categories
routific
Rules
warn
routific-snake-case-properties
All schema property names must use snake_case (Routific convention).
$.components.schemas.*.properties.*~
error
routific-security-bearer
Security must use bearer auth (Routific JWT tokens).
$.components.securitySchemes.*
warn
routific-server-url
Production server URL must be https://api.routific.com.
$.servers[0].url
warn
routific-async-202
Endpoints whose path ends in '-long' must return a 202 response.
$.paths[?(@property =~ /-long$/)].post.responses