grpc-ecosystem/grpc-gateway

protoc-gen-swagger doesn't output to specified --swagger_out directory

Open

#383 opened on 2017年5月11日

GitHub で見る
 (7 comments) (1 reaction) (0 assignees)Go (16,971 stars) (2,250 forks)batch import
bughelp wantedopenapi

説明

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.

コントリビューターガイド

protoc-gen-swagger doesn't output to specified --swagger_out directory · grpc-ecosystem/grpc-gateway#383 | Good First Issue