Skip to content

Commit 33dccde

Browse files
committed
update openapi generation script to exclude dir
1 parent c3a5e4e commit 33dccde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hack/update-generated-openapi.sh

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ INPUT_DIRS=(
1414
xargs -n1 dirname | \
1515
sed "s,^vendor/,," | \
1616
sort -u | \
17+
sed '/^k8s\.io\/kubernetes\/build\/root$/d' | \
1718
sed '/^k8s\.io\/kubernetes$/d' | \
1819
sed '/^k8s\.io\/kubernetes\/staging$/d' | \
1920
sed 's,k8s\.io/kubernetes/staging/src/,,'
@@ -36,3 +37,4 @@ genopenapi \
3637
--input-dirs "${INPUT_DIRS}" \
3738
--output-package "${ORIGIN_PREFIX}pkg/openapi" \
3839
"$@"
40+

0 commit comments

Comments
 (0)