grpc-api-example/buf.gen.yaml

26 lines
575 B
YAML

version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/sundowndev/grpc-api-example/proto
except:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
- buf.build/bufbuild/protovalidate
plugins:
- plugin: go
out: proto
opt:
- paths=source_relative
- plugin: go-grpc
out: proto
opt:
- paths=source_relative
- require_unimplemented_servers=false
- plugin: grpc-gateway
out: proto
opt:
- paths=source_relative
- plugin: openapiv2
out: gen/openapiv2