Mixedbread · API Governance Rules
Mixedbread API Rules
Spectral linting rules defining API design standards and conventions for Mixedbread.
6 Rules
error 3
warn 3
Rule Categories
mxbai
Rules
error
mxbai-server-required
Every Mixedbread spec must declare https://api.mixedbread.com as the production server.
$.servers
error
mxbai-paths-must-be-versioned
All operational paths must live under /v1.
$.paths[?(@property != "/")]~
warn
mxbai-paths-lowercase
Path segments must be lowercase. Word separators may be hyphens or underscores.
$.paths[*]~
error
mxbai-operation-summary-required
Every operation must have a summary.
$.paths[*][get,post,put,patch,delete].summary
warn
mxbai-operation-id-required
Every operation must have an operationId.
$.paths[*][get,post,put,patch,delete]
warn
mxbai-bearer-auth-defined
A bearer-token security scheme should be declared (Mixedbread uses Bearer API keys).
$.components.securitySchemes