Skip to content

Commit 01b29a6

Browse files
committed
*: fix openapi-gen options
Signed-off-by: Damien Grisonnet <[email protected]>
1 parent 1d31a46 commit 01b29a6

File tree

2 files changed

+1255
-154
lines changed

2 files changed

+1255
-154
lines changed

Makefile

+7-1
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,10 @@ verify-generated: update-generated
109109
.PHONY: update-generated
110110
update-generated:
111111
go install -mod=readonly k8s.io/kube-openapi/cmd/openapi-gen
112-
$(GOPATH)/bin/openapi-gen --logtostderr -i k8s.io/metrics/pkg/apis/custom_metrics,k8s.io/metrics/pkg/apis/custom_metrics/v1beta1,k8s.io/metrics/pkg/apis/custom_metrics/v1beta2,k8s.io/metrics/pkg/apis/external_metrics,k8s.io/metrics/pkg/apis/external_metrics/v1beta1,k8s.io/metrics/pkg/apis/metrics,k8s.io/metrics/pkg/apis/metrics/v1beta1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/apimachinery/pkg/api/resource,k8s.io/apimachinery/pkg/version,k8s.io/api/core/v1 -h ./hack/boilerplate.go.txt -p ./pkg/api/generated/openapi -O zz_generated.openapi -o ./ -r /dev/null
112+
$(GOPATH)/bin/openapi-gen --logtostderr \
113+
--go-header-file ./hack/boilerplate.go.txt \
114+
--output-pkg ./pkg/api/generated/openapi \
115+
--output-file zz_generated.openapi.go \
116+
--output-dir ./pkg/api/generated/openapi \
117+
-r /dev/null \
118+
"k8s.io/metrics/pkg/apis/custom_metrics" "k8s.io/metrics/pkg/apis/custom_metrics/v1beta1" "k8s.io/metrics/pkg/apis/custom_metrics/v1beta2" "k8s.io/metrics/pkg/apis/external_metrics" "k8s.io/metrics/pkg/apis/external_metrics/v1beta1" "k8s.io/metrics/pkg/apis/metrics" "k8s.io/metrics/pkg/apis/metrics/v1beta1" "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/version" "k8s.io/api/core/v1"

0 commit comments

Comments
 (0)