-
Notifications
You must be signed in to change notification settings - Fork 1
/
buf.gen.yaml
35 lines (35 loc) · 1.16 KB
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/kevinmichaelchen/temporal-saga-grpc/internal/idl
except:
- buf.build/googleapis/googleapis
- buf.build/envoyproxy/protoc-gen-validate
- buf.build/bufbuild/protovalidate
plugins:
# https://github.com/bufbuild/plugins/tree/main/plugins/protocolbuffers/go
- plugin: buf.build/protocolbuffers/go:v1.32.0
out: internal/idl
opt:
- paths=source_relative
# https://github.com/bufbuild/plugins/tree/main/plugins/connectrpc/go
- plugin: buf.build/connectrpc/go:v1.14.0
out: internal/idl
opt:
- paths=source_relative
# https://github.com/bufbuild/plugins/tree/main/plugins/grpc/go
- plugin: buf.build/grpc/go:v1.3.0
out: internal/idl
opt:
- paths=source_relative
- require_unimplemented_servers=false
# https://github.com/bufbuild/plugins/tree/main/plugins/bufbuild/validate-go
- plugin: buf.build/bufbuild/validate-go:v1.0.4
out: internal/idl
opt:
- paths=source_relative
# https://github.com/bufbuild/plugins/tree/main/plugins/connectrpc/es
- plugin: buf.build/connectrpc/es:v1.2.0
out: gen
opt: target=ts