-
Notifications
You must be signed in to change notification settings - Fork 2
/
buf.gen.yaml
35 lines (33 loc) · 811 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
managed:
enabled: true
go_package_prefix:
default: github.com/ConnectAI-E/go-claude/gen/go
except:
- buf.build/googleapis/googleapis
- buf.build/envoyproxy/protoc-gen-validate
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
# Golang
- name: go
out: ./gen/go
opt:
- paths=source_relative
- name: go-grpc
out: ./gen/go
opt:
- paths=source_relative
- require_unimplemented_servers=false
- name: grpc-gateway
out: ./gen/go
opt:
- paths=source_relative
- allow_repeated_fields_in_body=true
- generate_unbound_methods=true
- name: openapiv2
out: ./output
strategy: all
opt:
- allow_repeated_fields_in_body=true
- output_format=yaml
- allow_merge=true,merge_file_name=apis