-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
38 lines (38 loc) · 1.24 KB
/
buf.gen.yaml
File metadata and controls
38 lines (38 loc) · 1.24 KB
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
version: v2
managed:
enabled: true
disable:
- file_option: go_package_prefix
module: buf.build/googleapis/googleapis
- file_option: go_package_prefix
module: buf.build/bufbuild/protovalidate
- file_option: go_package_prefix
module: buf.build/go-sphere/options
- file_option: go_package_prefix
module: buf.build/go-sphere/errors
- file_option: go_package_prefix
module: buf.build/go-sphere/binding
override:
- file_option: go_package_prefix
value: github.com/go-sphere/sphere-layout/api
plugins:
- local: protoc-gen-go
out: api
opt: paths=source_relative
- local: protoc-gen-sphere-errors
out: api
opt: paths=source_relative
- local: protoc-gen-sphere
out: api
opt:
- paths=source_relative
- swagger_auth_header=// @Security ApiKeyAuth
- local: protoc-gen-route
out: api
opt:
- paths=source_relative
- options_key=bot
- request_model=github.com/go-sphere/telegram-bot/telegram;Update
- response_model=github.com/go-sphere/telegram-bot/telegram;Message
- extra_data_model=github.com/go-sphere/telegram-bot/telegram;MethodExtraData
- extra_data_constructor=github.com/go-sphere/telegram-bot/telegram;NewMethodExtraData