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
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ datamodel-codegen [OPTIONS]
122
122
|[`--keyword-only`](model-customization.md#keyword-only)| Generate dataclasses with keyword-only fields (Python 3.10+). |
123
123
|[`--model-extra-keys`](model-customization.md#model-extra-keys)| Add model-level schema extensions to ConfigDict json_schema_extra. |
124
124
|[`--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... |
125
+
|[`--model-name-map`](model-customization.md#model-name-map)| Rename generated model classes from a JSON mapping. |
125
126
|[`--naming-strategy`](model-customization.md#naming-strategy)| Use parent-prefixed naming strategy for duplicate model names. |
126
127
|[`--output-model-type`](model-customization.md#output-model-type)| Select the output model type (Pydantic v2, Pydantic v2 dataclass, dataclasses, T... |
127
128
|[`--parent-scoped-naming`](model-customization.md#parent-scoped-naming)| Namespace models by their parent scope to avoid naming conflicts. |
@@ -313,6 +314,7 @@ All options sorted alphabetically:
313
314
-[`--list-experimental`](utility-options.md#list-experimental) - List registered experimental features
314
315
-[`--model-extra-keys`](model-customization.md#model-extra-keys) - Add model-level schema extensions to ConfigDict json_schema_...
315
316
-[`--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...
317
+
-[`--model-name-map`](model-customization.md#model-name-map) - Rename generated model classes from a JSON mapping.
316
318
-[`--module-split-mode`](general-options.md#module-split-mode) - Split generated models into separate files, one per model cl...
317
319
-[`--naming-strategy`](model-customization.md#naming-strategy) - Use parent-prefixed naming strategy for duplicate model name...
318
320
-[`--no-alias`](field-customization.md#no-alias) - Disable Field alias generation for non-Python-safe property ...
0 commit comments