Windmill · API Governance Rules
Windmill API Rules
Spectral linting rules defining API design standards and conventions for Windmill.
10 Rules
error 4
warn 5
info 1
Rule Categories
windmill
Rules
warn
windmill-workspace-path-prefix
Workspace-scoped paths must use /w/{workspace}/ prefix
$.paths
warn
windmill-path-kebab-case
Path segments should use kebab-case
$.paths[*]~
warn
windmill-operation-id-camel-case
OperationIds should use camelCase per Windmill convention
$.paths[*][*].operationId
error
windmill-operation-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,delete,patch]
error
windmill-summary-required
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
error
windmill-success-response-required
Operations must define at least one success response
$.paths[*][get,post,put,delete,patch].responses
info
windmill-schema-descriptions
Schema components should have descriptions
$.components.schemas[*]
warn
windmill-parameter-descriptions
Parameters should have descriptions
$.paths[*][*].parameters[*]
warn
windmill-workspace-param-name
Workspace path parameter must be named 'workspace'
$.paths['/w/{workspace}/**'][*].parameters[?(@.in=='path')]
error
windmill-no-get-request-body
GET operations must not have request bodies
$.paths[*].get