Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-gateway: swagger files not found in GATEWAY_IMPORT_DIR #123

Open
carstenlenz opened this issue May 13, 2019 · 1 comment
Open

grpc-gateway: swagger files not found in GATEWAY_IMPORT_DIR #123

carstenlenz opened this issue May 13, 2019 · 1 comment

Comments

@carstenlenz
Copy link

Hi,

I just tried the generation of a grpc-gateway with gen-grpc-gateway:1.20_2.

Our protobufs use a go_package option with an url (e.g. our.domain.com/path/to/go/code) so the Go code gets generated into a folder gen/grpc-gateway/src/gen/pb-go/our.domain.com/path/to/go/code.
The swagger files get generated into gen/grpc-gateway/src/gen/pb-go/ directly.

So the ADD instruction in https://github.com/namely/docker-protoc/blob/master/gwy/templates/Dockerfile.tmpl#L25 can not copy these.

Maybe directly copying from $OUT_PATH/ will work here?

@ido-namely
Copy link
Contributor

Hi @carstenlenz ,
Sorry for the late response.
Is still issue still relevant? Where you able to work around it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants