mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
bazel: add openapi generation for non-main spec and fix main spec
This commit is contained in:
@@ -5,6 +5,10 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
|
||||
gen_openapi(
|
||||
outs = ["zz_generated.openapi.go"],
|
||||
exclude_pkgs = [
|
||||
"staging/src/k8s.io/code-generator",
|
||||
"staging/src/k8s.io/sample-apiserver",
|
||||
],
|
||||
output_pkg = "k8s.io/kubernetes/pkg/generated/openapi",
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user