-
Notifications
You must be signed in to change notification settings - Fork 1
/
buf.gen.yaml
33 lines (33 loc) · 853 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
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/marcoshuck/todo # <module_name>/<relative_path>
except:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
- buf.build/bufbuild/protovalidate
plugins:
- plugin: buf.build/protocolbuffers/go
out: .
opt:
- paths=source_relative
- plugin: buf.build/grpc/go:v1.3.0
out: .
opt:
- paths=source_relative
- plugin: buf.build/grpc-ecosystem/gateway:v2.20.0
out: .
opt:
- paths=source_relative
- logtostderr=true
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.20.0
out: api
opt:
- allow_merge=true
- merge_file_name=api
- output_format=yaml
- plugin: buf.build/bufbuild/es:v1.10.0
out: .
- plugin: buf.build/bufbuild/es:v1.10.0
out: ./ui/src