Shuffle · API Governance Rules
Shuffle API Rules
Spectral linting rules defining API design standards and conventions for Shuffle.
9 Rules
error 5
warn 4
Rule Categories
shuffle
Rules
error
shuffle-operation-tags
All operations must have at least one tag
$.paths[*][*]
error
shuffle-operation-summary
All operations must have a summary
$.paths[*][*]
error
shuffle-bearer-auth
API must use Bearer token authentication
$.components.securitySchemes[*]
warn
shuffle-api-response
Standard API responses should include success boolean
$.components.schemas.ApiResponse
warn
shuffle-workflow-id
Workflow operations should use consistent id parameter naming
$.paths['/workflows/{id}'][*].parameters[?(@.name == 'id')]
error
shuffle-response-200
All operations must have a 200 response
$.paths[*][*].responses
warn
shuffle-response-401
Operations should document 401 Unauthorized response
$.paths[*].get.responses
error
shuffle-operation-id
All operations must have an operationId in camelCase
$.paths[*][*]
warn
shuffle-v1-prefix
All API paths should use /api/v1 prefix (reflected in servers)
$.servers[*]