-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
33 lines (30 loc) · 841 Bytes
/
buf.gen.yaml
File metadata and controls
33 lines (30 loc) · 841 Bytes
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: v2
managed:
enabled: true
override:
- file_option: go_package_prefix
value: github.com/SebastienMelki/causality/pkg/proto
disable:
- file_option: go_package_prefix
module: buf.build/bufbuild/protovalidate
- file_option: go_package_prefix
module: buf.build/sebmelki/sebuf
plugins:
# Standard Go protobuf generation
- remote: buf.build/protocolbuffers/go
out: pkg/proto
opt: paths=source_relative
# sebuf HTTP handler generation
- local: protoc-gen-go-http
out: pkg/proto
opt: paths=source_relative
# sebuf HTTP client generation
- local: protoc-gen-go-client
out: pkg/proto
opt: paths=source_relative
# sebuf OpenAPI generation
- local: protoc-gen-openapiv3
out: api/openapi
opt:
- paths=source_relative
- output_mode=source_relative