mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-19 14:05:23 +00:00
Docs: Generate client pages (#45)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user