Closed
Description
How can I specify that the generated swagger and gateway code are in a different folder than the proto file?
I tried logtostderr=true:rest but this did not work for me :-(
Thanks
generate:
protoc -I/usr/local/include -I. \
--go_out=plugins=grpc:. \
proto/contract.proto
protoc -I/usr/local/include -I. \
-I$(GOPATH)/src \
-I$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--grpc-gateway_out=logtostderr=true,grpc_api_configuration=rest/service.yaml:. \
proto/contract.proto
protoc -I/usr/local/include -I. \
-I$(GOPATH)/src \
-I$(GOPATH)/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
--swagger_out=logtostderr=true,grpc_api_configuration=rest/service.yaml:. \
proto/contract.proto
Metadata
Metadata
Assignees
Labels
No labels