openapi-dump

command
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL