Skip to content

Commit

Permalink
Merge pull request #10161 from adityabhatia/fixMakeTargetGenerateGoOp…
Browse files Browse the repository at this point in the history
…enAPI

🌱 fix Make target generate-go-openapi
  • Loading branch information
k8s-ci-robot committed Feb 16, 2024
2 parents 7fb1541 + 1be873c commit 248fd81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ generate-go-conversions-test-extension: $(CONVERSION_GEN) ## Generate conversion
generate-go-openapi: $(OPENAPI_GEN) $(CONTROLLER_GEN) ## Generate openapi go code for runtime SDK
@mkdir -p ./tmp/sigs.k8s.io; ln -s $(ROOT_DIR) ./tmp/sigs.k8s.io/; cd ./tmp; \
for pkg in "api/v1beta1" "$(EXP_DIR)/runtime/hooks/api/v1alpha1"; do \
$(MAKE) clean-generated-openapi-definitions SRC_DIRS="./$${pkg}"; \
(cd ../ && $(MAKE) clean-generated-openapi-definitions SRC_DIRS="./$${pkg}"); \
echo "** Generating openapi schema for types in ./$${pkg} **"; \
$(OPENAPI_GEN) \
--input-dirs=sigs.k8s.io/cluster-api/$${pkg} \
Expand Down

0 comments on commit 248fd81

Please sign in to comment.