Add target for formatting swag docs & formatting swag docs

This commit is contained in:
Imbus 2024-03-08 10:30:17 +01:00
parent b52f13ee8b
commit efc95e7fea
2 changed files with 7 additions and 3 deletions

View file

@ -76,6 +76,10 @@ default: build
docs: docs:
swag init -outputTypes go swag init -outputTypes go
.PHONY: docfmt
docfmt:
swag fmt
install-swag: install-swag:
@echo "Installing swag" @echo "Installing swag"
@go get -u github.com/swaggo/swag/cmd/swag @go get -u github.com/swaggo/swag/cmd/swag