You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generators/rust.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,13 @@ These options may be applied as additional-properties (cli) or configOptions (pl
18
18
19
19
| Option | Description | Values | Default |
20
20
| ------ | ----------- | ------ | ------- |
21
+
|bestFitInt|Use best fitting integer type where minimum or maximum is set||false|
21
22
|enumNameSuffix|Suffix that will be appended to all enum names.|||
22
23
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.||true|
23
24
|library|library template (sub-template) to use.|<dl><dt>**hyper**</dt><dd>HTTP client: Hyper.</dd><dt>**reqwest**</dt><dd>HTTP client: Reqwest.</dd></dl>|reqwest|
24
25
|packageName|Rust package name (convention: lowercase).||openapi|
25
26
|packageVersion|Rust package version.||1.0.0|
27
+
|preferUnsignedInt|Prefer unsigned integers where minimum value is >= 0||false|
26
28
|supportAsync|If set, generate async function call instead. This option is for 'reqwest' library only||true|
27
29
|supportMultipleResponses|If set, return type wraps an enum of all possible 2xx schemas. This option is for 'reqwest' library only||false|
28
30
|useSingleRequestParameter|Setting this property to true will generate functions with a single argument containing all API endpoint parameters instead of one argument per parameter.||false|
0 commit comments