-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
53 lines (45 loc) · 1.26 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
48
49
50
51
52
53
version: v1
managed:
enabled: true
go_package_prefix:
default: facehunter/scanner/pkg
except:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
- plugin: buf.build/protocolbuffers/go:v1.31.0
out: pkg/proto
opt:
- paths=source_relative
- plugin: buf.build/grpc/go:v1.3.0
out: pkg/proto
opt:
- paths=source_relative
- require_unimplemented_servers=false
- plugin: buf.build/grpc-ecosystem/gateway:v2.18.1
out: pkg/proto
opt:
- paths=source_relative
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.18.1
out: third_party/OpenAPI
- plugin: buf.build/bufbuild/es
out: ../../frontend/proto/scanner
- plugin: buf.build/connectrpc/es
out: ../../frontend/proto/scanner
- plugin: buf.build/connectrpc/query-es
out: ../../frontend/proto/scanner
# - remote: buf.build/protocolbuffers/plugins/go:v1.28.0-1
# out: pkg/proto/go
# opt:
# - paths=source_relative
#
# - remote: buf.build/grpc/plugins/go:v1.2.0-1
# out: pkg/proto/go
# opt:
# - paths=source_relative
# - require_unimplemented_servers=false
#
# - remote: buf.build/grpc-ecosystem/plugins/grpc-gateway:v2.7.2-1
# out: pkg/proto/go
# opt:
# - paths=source_relative