mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Merge pull request #117261 from thockin/codegen_openapi_use_code-generator
Codegen: use openapi-gen via k8s.io/code-generator
This commit is contained in:
commit
297dc976b9
@ -546,7 +546,7 @@ function indirect_array() {
|
||||
function codegen::openapi() {
|
||||
# Build the tool.
|
||||
GO111MODULE=on GOPROXY=off go install \
|
||||
k8s.io/kube-openapi/cmd/openapi-gen
|
||||
k8s.io/code-generator/cmd/openapi-gen
|
||||
|
||||
# The result file, in each pkg, of open-api generation.
|
||||
local output_base="${GENERATED_FILE_PREFIX}openapi"
|
||||
|
Loading…
Reference in New Issue
Block a user