diff --git a/email/Makefile b/email/Makefile index 7b2c4c1..0aebc7e 100644 --- a/email/Makefile +++ b/email/Makefile @@ -5,6 +5,9 @@ init: go get -u github.com/golang/protobuf/proto go get -u github.com/golang/protobuf/protoc-gen-go go get github.com/micro/micro/v3/cmd/protoc-gen-micro +.PHONY: api +api: + protoc --openapi_out=. --proto_path=. proto/email.proto .PHONY: proto proto: protoc --proto_path=. --micro_out=. --go_out=:. proto/email.proto