protoc-gen-connect-openapi
protoc-gen-connect-openapi copied to clipboard
Feature Request
It would be nice if there was a way to combine several services in to a single open api yaml file.
@ls-aron-kyle You should be able to get this behavior right now.
If you're using buf, you can use strategy: all in your buf.gen.yaml file like this:
version: v1
plugins:
- plugin: connect-openapi
out: out
strategy: all
opt:
- path=openapi.yaml
You should also be able to do the same thing with protoc following the examples here: https://buf.build/docs/configuration/v1/buf-gen-yaml#strategy
I'm going to go ahead and close this. If this doesn't work for you, feel free to re-open.