Skip to content

Commit 7fc555f

Browse files
docs: update CLI reference documentation and prompt data
🤖 Generated by GitHub Actions
1 parent d1984ba commit 7fc555f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/datamodel_code_generator/prompt_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"--naming-strategy": "Use parent-prefixed naming strategy for duplicate model names.",
7979
"--no-alias": "Disable Field alias generation for non-Python-safe property names.",
8080
"--no-treat-dot-as-module": "Keep dots in schema names as underscores for flat output.",
81+
"--no-use-closed-typed-dict": "Control PEP 728 TypedDict closed/extra_items generation.",
8182
"--no-use-specialized-enum": "Disable specialized Enum classes for Python 3.11+ code generation.",
8283
"--no-use-standard-collections": "Use typing.Dict/List instead of built-in dict/list for container types.",
8384
"--no-use-union-operator": "Use Union[X, Y] / Optional[X] instead of X | Y union operator.",
@@ -112,6 +113,7 @@
112113
"--url": "Fetch schema from URL with custom HTTP headers.",
113114
"--use-annotated": "Use typing.Annotated for Field() with constraints.",
114115
"--use-attribute-docstrings": "Generate field descriptions as attribute docstrings instead of Field descriptions.",
116+
"--use-closed-typed-dict": "Control PEP 728 TypedDict closed/extra_items generation.",
115117
"--use-decimal-for-multiple-of": "Generate Decimal types for fields with multipleOf constraint.",
116118
"--use-default": "Use default values from schema in generated models.",
117119
"--use-default-factory-for-optional-nested-models": "Generate default_factory for optional nested model fields.",

0 commit comments

Comments
 (0)