# harvested from https://github.com/docker/docs/blob/63cc3634e3a27ecb0cfdecba216fa74bf1fdceec/hack/api-docs/validation/rules.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (docker/docs); found by GitHub code search, fetched verbatim x-method: harvested x-stamped: 2026-10-09 x-source-url: https://github.com/docker/docs/blob/63cc3634e3a27ecb0cfdecba216fa74bf1fdceec/hack/api-docs/validation/rules.yaml # Structural and dialect validation run against locked OAI schemas in the Go command. # Vacuum supplies independently named Docker policy rules with source locations. rules: docker-operation-id: description: Every operation needs a stable operation ID. severity: error given: $.paths[*][get,put,post,delete,options,head,patch,trace,query] then: field: operationId function: truthy docker-info-description: description: Every API needs an overview. severity: error given: $.info then: field: description function: truthy docker-info-version: description: Every API needs a version identity. severity: error given: $.info then: field: version function: truthy