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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue