Skip to content

Commit

Permalink
execute swaggo check from cardinal directory
Browse files Browse the repository at this point in the history
  • Loading branch information
heronimus committed May 20, 2024
1 parent 1519129 commit eab4edd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion makefiles/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit eab4edd

Please sign in to comment.