MiniMax · API Governance Rules
MiniMax — minimax desgin plugin rules
Spectral linting rules defining API design standards and conventions for MiniMax.
6 Rules
warn 4
Published by MiniMax
Served by the provider at https://github.com/MiniMax-AI/minimax-desgin-plugin/blob/bef9de2101e9d873619c83553b8f03ebb0c10663/comfyui-plugin/backend/.spectral.yaml; the copy below was fetched from there.
Rule Categories
error
operation
path
property
response
schema
Rules
warn
property-name-snake-case
Property names must be snake_case
$.components.schemas.*.properties[*]~
warn
operation-id-camel-case
Operation IDs must be camelCase
$.paths.*.*.operationId
hint
error-response-schema
Error responses should reference a standard error schema
$.paths.*.*.responses[?(@property >= '400' && @property < '600')].content['application/json'].schema
warn
response-schema-defined
Success responses with JSON content should define a schema
$.paths.*.*.responses[?(@property >= '200' && @property < '300')].content['application/json']
warn
path-param-description
Path parameters should have a description
$.paths.*.parameters[?(@.in == 'path')]$.paths.*.*.parameters[?(@.in == 'path')]
hint
schema-description
Component schemas should have a description
$.components.schemas.*
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.