Docs: Generate client pages (#45)

This commit is contained in:
Janos Dobronszki
2021-01-28 13:14:16 +00:00
committed by GitHub
parent efaafa546a
commit 9fba76fd4e
6 changed files with 187 additions and 78 deletions

View File

@@ -7,8 +7,13 @@ init:
go get github.com/micro/micro/v3/cmd/protoc-gen-micro
.PHONY: proto
proto:
protoc --proto_path=. --micro_out=. --go_out=:. proto/groups.proto
protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/groups.proto
.PHONY: docs
docs:
protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/groups.proto
@redoc-cli bundle api-groups.json
.PHONY: build
build:
go build -o groups *.go