-
Notifications
You must be signed in to change notification settings - Fork 2
/
buf.gen.yaml
35 lines (35 loc) · 959 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
version: v1
plugins:
- remote: buf.build/library/plugins/go:v1.27.1-1
out: gen/go
opt:
- paths=source_relative
- remote: buf.build/library/plugins/go-grpc:v1.1.0-2
out: gen/go
opt:
- paths=source_relative
- require_unimplemented_servers=false
- remote: buf.build/grpc-ecosystem/plugins/grpc-gateway:v2.6.0-1
out: gen/go
opt:
- paths=source_relative
- generate_unbound_methods=true
- remote: buf.build/grpc-ecosystem/plugins/openapiv2:v2.6.0-1
out: gen/openapiv2
- name: ts_proto
out: gen/node
opt:
- context=true
- forceLong=string
- esModuleInterop=true
- env=node
- useOptionals=true
- outputEncodeMethods=true
- outputJsonMethods=true
- outputPartialMethods=true
- stringEnums=true
- outputClientImpl=false
- addGrpcMetadata=true
- useDate=false
- outputServices=grpc-js
- unrecognizedEnum=false