Kubernetes · API Governance Rules
Kubernetes API Rules
Spectral linting rules defining API design standards and conventions for Kubernetes.
5 Rules
error 1
warn 4
Rule Categories
no
operation
security
server
Rules
error
server-secure-protocol
Servers should use a secure protocol (this API's convention).
$.servers[*].protocol
warn
server-security-defined
Servers should declare their security requirements.
$.servers[*]
warn
security-schemes-defined
Security schemes should be defined in components.
$.components
warn
operation-id-casing
Operation IDs should be camelCase (the dominant convention in this API).
$.channels[*][publish,subscribe].operationId
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description