-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuf.gen.yaml
37 lines (37 loc) · 1015 Bytes
/
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
36
37
version: v2
managed:
enabled: true
disable:
- module: buf.build/googleapis/googleapis
file_option: go_package_prefix
- module: buf.build/k8s/api
file_option: go_package_prefix
- module: buf.build/ctfhub/meta
file_option: go_package_prefix
override:
- file_option: go_package
module: buf.build/ctfhub/mercury
value: github.com/ctfpb/mercury/pb
- file_option: go_package
module: buf.build/ctfhub/meta
value: github.com/ctfhub-team/meta
inputs:
# - module: buf.build/ctfhub/mercury
- directory: .
plugins:
- remote: buf.build/protocolbuffers/go:v1.34.1
out: pb
opt:
- paths=source_relative
- remote: buf.build/grpc/go:v1.4.0
out: pb
opt:
- paths=source_relative
- require_unimplemented_servers=true
- remote: buf.build/grpc-ecosystem/gateway:v2.20.0
out: pb
opt:
- paths=source_relative
- generate_unbound_methods=true
- remote: buf.build/grpc-ecosystem/openapiv2:v2.20.0
out: pb