From 3ffd5a0d4e58231d58d2070beaa22446bbd1cc7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20S=C5=82onka?= Date: Thu, 19 Dec 2024 10:39:34 +0100 Subject: [PATCH] feat(oapi): fix missing dependency (#12330) ## Motivation Because otherwise this is not built and fails https://github.com/Kong/kong-mesh/actions/runs/12408432049/job/34640101247?pr=7179#step:13:69 ## Implementation information Add dependency in makefile ## Supporting documentation Fix https://github.com/Kong/kong-mesh/actions/runs/12408432049/job/34640101247?pr=7179#step:13:69 > Changelog: feat(oapi): add mesh and meshgateway to oapi spec Signed-off-by: slonka --- mk/generate.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/generate.mk b/mk/generate.mk index b42d04a0efef..b2f862b54f09 100644 --- a/mk/generate.mk +++ b/mk/generate.mk @@ -104,7 +104,7 @@ generate/policy-helm: endpoints = $(foreach dir,$(shell find api/openapi/specs -type f | sort),$(basename $(dir))) -generate/oas: $(GENERATE_OAS_PREREQUISITES) +generate/oas: $(GENERATE_OAS_PREREQUISITES) $(RESOURCE_GEN) for endpoint in $(endpoints); do \ DEST=$${endpoint#"api/openapi/specs"}; \ PATH=$(CI_TOOLS_BIN_DIR):$$PATH oapi-codegen -config api/openapi/openapi.cfg.yaml -o api/openapi/types/$$(dirname $${DEST}})/zz_generated.$$(basename $${DEST}).go $${endpoint}.yaml; \