-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
51 lines (49 loc) · 1.52 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
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/airdb/xadmin-api/genproto
except:
- buf.build/googleapis/googleapis
- buf.build/einride/iam
- buf.build/envoyproxy/protoc-gen-validate
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
# Golang
- name: go
out: genproto
opt:
- paths=source_relative
- Meinride/iam/v1/annotations.proto=go.einride.tech/iam/proto/gen/einride/iam/v1
- name: go-aip
out: genproto
opt:
- paths=source_relative
- Meinride/iam/v1/annotations.proto=go.einride.tech/iam/proto/gen/einride/iam/v1
- name: validate
out: genproto
opt:
- lang=go
- paths=source_relative
- Meinride/iam/v1/annotations.proto=go.einride.tech/iam/proto/gen/einride/iam/v1
- name: go-grpc
out: genproto
opt:
- paths=source_relative
- require_unimplemented_servers=false
- Meinride/iam/v1/annotations.proto=go.einride.tech/iam/proto/gen/einride/iam/v1
- name: grpc-gateway
out: genproto
opt:
- paths=source_relative
- allow_repeated_fields_in_body=true
- generate_unbound_methods=true
- Meinride/iam/v1/annotations.proto=go.einride.tech/iam/proto/gen/einride/iam/v1
- name: openapiv2
out: ./output
strategy: all
opt:
- allow_repeated_fields_in_body=true
- output_format=yaml
- allow_merge=true,merge_file_name=apis,include_package_in_tags=true
- Meinride/iam/v1/annotations.proto=go.einride.tech/iam/proto/gen/einride/iam/v1