Skip to content

Commit 19ab734

Browse files
authored
Update docs for new default-non-nullable default value in 7.x (#1680)
1 parent c04fee2 commit 19ab734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,11 @@ The following flags are supported in the CLI:
108108
| `--additional-properties` | | `false` | Allow arbitrary properties for all schema objects without `additionalProperties: false` |
109109
| `--alphabetize` | | `false` | Sort types alphabetically |
110110
| `--array-length` | | `false` | Generate tuples using array `minItems` / `maxItems` |
111-
| `--default-non-nullable` | | `false` | Treat schema objects with default values as non-nullable |
111+
| `--default-non-nullable` | | `true` | Treat schema objects with default values as non-nullable (with the exception of parameters) |
112112
| `--properties-required-by-default` | | `false` | Treat schema objects without `required` as having all properties required. |
113113
| `--empty-objects-unknown` | | `false` | Allow arbitrary properties for schema objects with no specified properties, and no specified `additionalProperties` |
114114
| `--enum` | | `false` | Generate true [TS enums](https://www.typescriptlang.org/docs/handbook/enums.html) rather than string unions. |
115-
| `--enum-values` | | `false` | Export enum values as arrays. |
115+
| `--enum-values` | | `false` | Export enum values as arrays. |
116116
| `--exclude-deprecated` | | `false` | Exclude deprecated fields from types |
117117
| `--export-type` | `-t` | `false` | Export `type` instead of `interface` |
118118
| `--immutable` | | `false` | Generates immutable types (readonly properties and readonly array) |

0 commit comments

Comments
 (0)