-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
26 lines (22 loc) · 913 Bytes
/
buf.gen.yaml
File metadata and controls
26 lines (22 loc) · 913 Bytes
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
---
version: v2
clean: false
plugins:
- remote: buf.build/community/pseudomuto-doc:v1.5.1
out: ./docs
opt:
- markdown,api.md
- remote: buf.build/community/pseudomuto-doc:v1.5.1
out: ./html
opt:
- html,index.html
# use v2.27.4 to avoid breaking error incl v2.27.5 <-> v2.27.7, resulting in:
# Error converting document: Error converting Swagger to 3.0 failed to resolve "readerV4CheckRequest"
# in fragment in URI: "#/components/schemas/readerV4CheckRequest": map key "readerV4CheckRequest" not found
- remote: buf.build/grpc-ecosystem/openapiv2:v2.27.4
out: ./tmp
opt:
- json_names_for_fields=false # use proto names.
- allow_delete_body=true # DELETE requests may have a body.
- simple_operation_ids=true # Remove service prefix from operation IDs.
- enable_rpc_deprecation=true # process grpc method's deprecated options.