-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuf.gen.yaml
40 lines (35 loc) · 1014 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
38
39
40
version: v2
plugins:
- remote: buf.build/grpc/go:v1.3.0
out: .
opt: paths=source_relative
- remote: buf.build/protocolbuffers/go:v1.34.0
out: .
opt: paths=source_relative
- remote: buf.build/grpc-ecosystem/gateway:v2.19.1
out: .
opt:
- paths=source_relative
- allow_delete_body=true
- remote: buf.build/grpc-ecosystem/openapiv2:v2.19.1
out: ./apis/factorioapi/v1
opt:
- file=./apis/factorioapi/v1
- merge_file_name=v1
- allow_merge=true
- allow_delete_body=true
- disable_default_errors=true
- disable_service_tags=true
# - output_format=yaml
- remote: buf.build/grpc-ecosystem/openapiv2:v2.19.1
out: ./apis/factorioapi/v2
opt:
- file=./apis/factorioapi/v2
- merge_file_name=v2
- allow_merge=true
- allow_delete_body=true
- disable_default_errors=true
- disable_service_tags=true
# - output_format=yaml
# - name: grpc-gateway-ts
# out: ./clients/typescript