grpc-ecosystem/grpc-gateway
View on GitHubprotoc-gen-swagger doesn't output to specified --swagger_out directory
Open
#383 opened on May 11, 2017
bughelp wantedopenapi
Description
Invoking protoc-gen-swagger with:
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:. \
mycorp/api/user/v1/user_service.proto
The outputted file ends up in mycorp/api/user/v1/, not the current working directory.