-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuf.gen.yaml
47 lines (47 loc) · 1.32 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
36
37
38
39
40
41
42
43
44
45
46
47
version: v1
# https://docs.buf.build/generate/managed-mode
managed:
enabled: true
optimize_for: SPEED
cc_enable_arenas: false
java_multiple_files: true
go_package_prefix:
# same value as `module` in go.mod
default: github.com/algorandfoundation/did-algo
# don't build/rewrite import paths for external dependencies
except:
- buf.build/googleapis/googleapis
- buf.build/bufbuild/protovalidate
- buf.build/grpc-ecosystem/grpc-gateway
# For each plugin:
# - plugin: buf will look for a remote plugin
# - name: buf generate will look for a binary named protoc-gen-NAME
# - out: path relative to the output directory
# - opt: options to provide to the plugin
plugins:
- plugin: buf.build/protocolbuffers/go:v1.32.0
out: .
opt:
- paths=source_relative
- plugin: buf.build/grpc/go:v1.3.0
out: .
opt:
- paths=source_relative
- require_unimplemented_servers=true
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.19.1
out: .
opt:
- logtostderr=true
- plugin: buf.build/grpc-ecosystem/gateway:v2.19.1
out: .
opt:
- paths=source_relative
- logtostderr=true
# - plugin: buf.build/bufbuild/validate-go:v1.0.4
# out: .
# opt:
# - paths=source_relative
# - name: go-drpc
# out: .
# opt:
# - paths=source_relative