grpc-ecosystem/grpc-gateway

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

开放

#383 创建于 2017年5月11日

 (7 条评论) (1 个反应) (0 位负责人)Go (2,250 个派生)batch import
bughelp wantedopenapi

仓库指标

星标
 (16,971 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南