-
Notifications
You must be signed in to change notification settings - Fork 25
/
.ogen.yml
27 lines (26 loc) · 912 Bytes
/
.ogen.yml
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
# sets parser options.
parser:
# enables type inference for schemas. Schema parser will try to detect schema type by its properties.
infer_types: true
# enables remote references resolving. See https://github.com/ogen-go/ogen/issues/385.
allow_remote: true
# is maximum depth of schema generation. Default is 1000.
depth_limit: 1000
# sets generator options.
generator:
# sets generator features.
features:
enable:
# Enables paths client generation
- 'paths/client'
# Enables client usage in security source implementations
- 'client/security/reentrant'
# Enables validation of client requests
- 'client/request/validation'
# Enables validation of server responses
- 'server/response/validation'
# Enables stub Handler generation
- 'ogen/unimplemented'
disable:
# Disables paths server generation
- 'paths/server'