Add target for formatting swag docs & formatting swag docs
This commit is contained in:
parent
b52f13ee8b
commit
efc95e7fea
2 changed files with 7 additions and 3 deletions
|
@ -76,6 +76,10 @@ default: build
|
|||
docs:
|
||||
swag init -outputTypes go
|
||||
|
||||
.PHONY: docfmt
|
||||
docfmt:
|
||||
swag fmt
|
||||
|
||||
install-swag:
|
||||
@echo "Installing swag"
|
||||
@go get -u github.com/swaggo/swag/cmd/swag
|
||||
|
|
Loading…
Reference in a new issue