grpc-gateway icon indicating copy to clipboard operation
grpc-gateway copied to clipboard

Add `fqn_for_swagger_name` to OpenAPIv2 Buf remote plugin

Open MalteHerrmann opened this issue 1 year ago • 1 comments

🚀 Feature

We wanted to use remote plugins and build Swagger files from the Buf Schema Registry instead of storing relevant third party proto files locally. I've gotten this to work so far with the openapiv2 Buf remote plugin, but I'm missing the option to set fqn_for_swagger_name=true as introduced in this PR: grpc-ecosystem/grpc-gateway#881.

Is this supported in some way or is it intended to be supported in the future? Thanks!

MalteHerrmann avatar Feb 01 '23 08:02 MalteHerrmann

I believe you should just be able to add that option to your opts yaml array? What does your buf.gen.yaml look like?

johanbrandhorst avatar Feb 01 '23 16:02 johanbrandhorst