Get rid of code-generator/cmd/openapi-gen

It's an exact duplicate of k8s.io/kube-openapi/cmd/openapi-gen.
This commit is contained in:
Tim Hockin
2024-01-17 13:54:34 -08:00
parent 067a328284
commit 1a4450f6ff
4 changed files with 2 additions and 65 deletions

View File

@@ -472,7 +472,7 @@ function k8s_tag_files_except() {
function codegen::openapi() {
# Build the tool.
GOPROXY=off go install \
k8s.io/code-generator/cmd/openapi-gen
k8s.io/kube-openapi/cmd/openapi-gen
# The result file, in each pkg, of open-api generation.
local output_file="${GENERATED_FILE_PREFIX}openapi.go"