Documentation
¶
Overview ¶
Command openapi-dump renders the apiserver's generated OpenAPI definitions to a static OpenAPI v3 JSON document offline — no running apiserver required.
It exists so the console's openapi-typescript codegen (APO-765) is hermetic: CI regenerates console/openapi.json from api/generated/zz_generated.openapi.go and diffs it, instead of scraping /openapi/v3 from a live apiserver.
Only components.schemas is emitted. The console builds requests from its GVR registry rather than from generated path operations, so the (large, dynamic) k8s path surface is intentionally omitted.
Click to show internal directories.
Click to hide internal directories.