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