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/cli-reference/quick-reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ datamodel-codegen [OPTIONS]
110
110
|[`--enable-faux-immutability`](model-customization.md#enable-faux-immutability)| Enable faux immutability in Pydantic models (frozen=True). |
111
111
|[`--force-optional`](model-customization.md#force-optional)| Force all fields to be Optional regardless of required status. |
112
112
|[`--frozen-dataclasses`](model-customization.md#frozen-dataclasses)| Generate frozen dataclasses with optional keyword-only fields. |
113
-
|[`--keep-model-order`](model-customization.md#keep-model-order)| Keep model definition order as specified in schema. |
113
+
|[`--keep-model-order`](model-customization.md#keep-model-order)| Keep generated model order deterministic while respecting dependency constraints... |
114
114
|[`--keyword-only`](model-customization.md#keyword-only)| Generate dataclasses with keyword-only fields (Python 3.10+). |
115
115
|[`--model-extra-keys`](model-customization.md#model-extra-keys)| Add model-level schema extensions to ConfigDict json_schema_extra. |
116
116
|[`--model-extra-keys-without-x-prefix`](model-customization.md#model-extra-keys-without-x-prefix)| Strip x- prefix from model-level schema extensions and add to ConfigDict json_sc... |
@@ -284,7 +284,7 @@ All options sorted alphabetically:
284
284
-[`--input-file-type`](base-options.md#input-file-type) - Specify the input file type for code generation.
285
285
-[`--input-model`](base-options.md#input-model) - Import a Python type or dict schema from a module.
286
286
-[`--input-model-ref-strategy`](base-options.md#input-model-ref-strategy) - Strategy for referenced types when using --input-model.
287
-
-[`--keep-model-order`](model-customization.md#keep-model-order) - Keep model definition order as specified in schema.
287
+
-[`--keep-model-order`](model-customization.md#keep-model-order) - Keep generated model order deterministic while respecting de...
288
288
-[`--keyword-only`](model-customization.md#keyword-only) - Generate dataclasses with keyword-only fields (Python 3.10+)...
289
289
-[`--model-extra-keys`](model-customization.md#model-extra-keys) - Add model-level schema extensions to ConfigDict json_schema_...
290
290
-[`--model-extra-keys-without-x-prefix`](model-customization.md#model-extra-keys-without-x-prefix) - Strip x- prefix from model-level schema extensions and add t...
| [`--keep-model-order`](model-customization.md#keep-model-order) | Keep model definition order as specified in schema. |
24025
+
| [`--keep-model-order`](model-customization.md#keep-model-order) | Keep generated model order deterministic while respecting dependency constraints... |
0 commit comments