Volcano · API Governance Rules
Volcano API Rules
Spectral linting rules defining API design standards and conventions for Volcano.
7 Rules
error 1
warn 4
info 2
Rule Categories
volcano
Rules
warn
volcano-operation-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
warn
volcano-operation-ids-camel-case
OperationIds must use camelCase.
$.paths[*][*].operationId
error
volcano-tags-required
Each operation must have at least one tag.
$.paths[*][*]
warn
volcano-kubernetes-api-group-in-path
Paths must include a Kubernetes API group (e.g. batch.volcano.sh or scheduling.volcano.sh).
$.paths
info
volcano-server-variable-required
Server URL must use a variable for the kubernetes-api-server address.
$.servers[*].url
warn
volcano-namespace-path-param
Namespaced resource paths must include a namespace parameter.
$.paths[*namespaces*][get,post,put,patch,delete].parameters[*]
info
volcano-list-pagination-support
List operations should support limit and continue query parameters.
$.paths[*][get][operationId][?(@.match(/^list/))]