Kubernetes OpenAPI Spec
This repository contains OpenAPI spec JSON files for Kubernetes API.
Differences
Files in openapi
folder are almost identity to openapi-spec
folder in kubernetes
repository. The only difference is that OpenAPI files in this repository contains enum information.
Enum information once existed in kubernetes
repository in 1.23
, but was removed in PR #109178 for compatibility issues.
Build
Before running the following command, make sure you have installed Go 1.19 or above on your computer.
make
To add a new version, just edit all
target in Makefile
and rerun make
again.
To clean generated and temporary files, run:
make clean