Mindee · API Governance Rules
Mindee API Rules
Spectral linting rules defining API design standards and conventions for Mindee.
6 Rules
error 3
warn 2
info 1
Rule Categories
mindee
Rules
warn
mindee-operation-id-camelcase
Operation IDs should be camelCase.
$.paths[*][get,post,put,patch,delete].operationId
warn
mindee-summary-title-case
Operation summaries should use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
mindee-tag-required
Every operation must have at least one tag matching a Mindee product family.
$.paths[*][get,post,put,patch,delete].tags
info
mindee-async-pattern
Mindee inference endpoints follow an enqueue/jobs/results async pattern; enqueue endpoints should POST and return 202.
$.paths[?(@property.match(/enqueue$/))].post.responses
error
mindee-server-required
Specs must declare the Mindee V2 server.
$.servers
error
mindee-api-key-header
Security must be the Authorization header API key.
$.components.securitySchemes.APIKeyHeader