grpc-ecosystem/grpc-gateway

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

Open

#383 创建于 2017年5月11日

在 GitHub 查看
 (7 评论) (1 反应) (0 负责人)Go (16,971 star) (2,250 fork)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