mirror of
https://github.com/chenyme/grok2api.git
synced 2026-12-05 08:01:07 +00:00
10 lines
248 B
Makefile
10 lines
248 B
Makefile
.PHONY: swagger
|
|
|
|
swagger:
|
|
cd backend && GOCACHE=$(CURDIR)/.gocache go run github.com/swaggo/swag/cmd/swag@v1.16.6 init \
|
|
-g main.go \
|
|
-d cmd/grok2api,internal/transport/http \
|
|
--parseInternal \
|
|
--output docs \
|
|
--outputTypes go,json,yaml
|