Crossplane · API Governance Rules
Crossplane API Rules
Spectral linting rules defining API design standards and conventions for Crossplane.
7 Rules
error 5
warn 2
Rule Categories
crossplane
Rules
error
crossplane-info-contact
API info object should reference Crossplane community contact.
$.info.contact
warn
crossplane-server-kubernetes
Server URL should reference the Kubernetes API server.
$.servers[*].url
error
crossplane-required-paths
API must define core Crossplane API extension paths.
$.paths
error
crossplane-pkg-paths
API must define package management paths under pkg.crossplane.io.
$.paths
error
crossplane-operation-id
All operations must define an operationId.
$.paths.*.*
warn
crossplane-operation-id-prefix
Operation IDs should start with a verb (list, get, create, replace, delete, patch).
$.paths.*.*.operationId
error
crossplane-tags
All operations must define tags.
$.paths.*.*