-
Notifications
You must be signed in to change notification settings - Fork 1
/
buf.gen.yaml
37 lines (34 loc) · 1017 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
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/abyssparanoia/rapid-go/internal/infrastructure/grpc/pb
except:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
- plugin: buf.build/protocolbuffers/go
out: ./internal/infrastructure/grpc/pb
opt:
- paths=source_relative
- plugin: buf.build/grpc/go
out: ./internal/infrastructure/grpc/pb
opt:
- paths=source_relative
- require_unimplemented_servers=false
- plugin: buf.build/grpc-ecosystem/gateway
out: ./internal/infrastructure/grpc/pb
opt:
- generate_unbound_methods=true
- logtostderr=true
- paths=source_relative
- allow_delete_body=true
- plugin: buf.build/grpc-ecosystem/openapiv2
out: ./schema/openapi
opt:
- logtostderr=true
- allow_merge=false
- simple_operation_ids=true
- json_names_for_fields=false
- disable_default_errors=true
- allow_delete_body=true