From 53f1e2c6421bfdf37485562b1fc3d3e1dbfb1ca5 Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Fri, 21 Aug 2026 09:18:42 +0200 Subject: [PATCH] fix: added swag command to makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4ff47a6..9c3896a 100644 --- a/Makefile +++ b/Makefile @@ -76,4 +76,9 @@ clean: ## docker: Build a Docker image docker: @echo "Building Docker image for $(APP_NAME):$(VERSION)..." - @docker build -t $(APP_NAME):$(VERSION) -t $(APP_NAME):latest . \ No newline at end of file + @docker build -t $(APP_NAME):$(VERSION) -t $(APP_NAME):latest . + +## swag: Create swagger documentation +swag: + @echo "Creating swagger documentation for $(APP_NAME)" + @swag init -g $(MAIN_DIR)/main.go