From eab4edde0b54b865d0bcedbb3f0a33eea0d79e33 Mon Sep 17 00:00:00 2001 From: heronimus Date: Tue, 21 May 2024 00:06:39 +0700 Subject: [PATCH] execute swaggo check from cardinal directory --- makefiles/test.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefiles/test.mk b/makefiles/test.mk index 4a04a81bf..3bd8694d9 100644 --- a/makefiles/test.mk +++ b/makefiles/test.mk @@ -107,8 +107,9 @@ swagger-check: $(MAKE) swaggo-install @echo "--> Generate latest Swagger specs" + cd cardinal mkdir -p .tmp/swagger - swag init -g cardinal/server/server.go -o .tmp/swagger --parseInternal --parseDependency + swag init -g server/server.go -o .tmp/swagger --parseInternal --parseDependency @echo "--> Compare existing and latest Swagger specs" docker run --rm -v ./:/local-repo ghcr.io/argus-labs/devops-infra-swagger-diff:2.0.0 \