koxudaxi/datamodel-code-generator
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
PythonMIT
Pinned issues
Issues
- 0
- 0
- 1
- 0
- 2
"A Parser can not resolve classes" error when generating code from an OpenAPI spec
#1968 opened by jstasiak - 0
- 4
oneOf with subschema array items not incorporated/generated as Any for pydantic.v2
#1910 opened by kraftto - 0
Dataclass code gen error: TypeError: non-default argument 'XYZ' follows default argument
#1966 opened by JoanPuig - 1
Enum is not being generated from JSON Schema from URL
#1963 opened by coldenol - 0
Casts `default` values of type `number` (scientific notation) to `str`
#1955 opened by maximilian-tech - 6
msgspec: Optional fields are missing a default when using `--snake-case-field`
#1920 opened by maringuu - 0
Support scientific notation (YeX)
#1952 opened by swelborn - 2
mypy errors due to the way classes are generated with pydantic_v2.BaseModel and --use-annotated
#1870 opened by Diaoul - 0
Const field not being detected when JSON schema $defs are used to generate code in pydantic_V2
#1951 opened by KasuniWijeratne - 2
Generated models using RootModel to represent Annotated Unions are out of order
#1921 opened by veaviticus - 0
Forward-compatible usage of Pydantic v1
#1950 opened by aaronsteers - 2
Default value of enum field isn't an enum member
#1929 opened by Twixes - 4
Improve `mypy` hinting on `RootModel` with `oneOf`
#1903 opened by woodruffw - 1
[pydantic_v2.BaseModel] Field specified as `date-time` is generated as `AwareDatetime`
#1944 opened by benverhees - 9
- 0
When using snake-case-fields and msgspec, field ordering does not always work correctly
#1943 opened by ianbuss - 1
CLI options `use-standard-collections` and `use-union-operator` are not being applied for input file type `graphql`
#1941 opened by paultop6 - 3
TypeAlias does not work for python versions <3.10
#1848 opened by paultop6 - 0
Discriminated union with a List: annotation is on the list, not the union
#1937 opened by colmanhumphrey - 2
create pydantic model class from schema
#1865 opened by shaojun - 0
Support pydantic.dataclasses as output format
#1906 opened by AltarBeastiful - 1
[yaml] The generator does not generate Python code from models in external files referenced by $ref.
#1908 opened by np-kyokyo - 1
Base class for main object, not for properties
#1918 opened by cmclaughlin - 0
JSON Schema: oneOf with const
#1925 opened by roquie - 1
Support for XML Schema to Pydantic Models
#1869 opened by alexiswl - 0
msgspec: Mandatory attributes follow optional ones
#1919 opened by maringuu - 0
[graphql] Add support for --use-subclass-enum
#1912 opened by poncovka - 0
Generation of Shopify GraphQL schema fails
#1909 opened by mairas - 0
Nullability info excluded from templates for optional, no-default OpenAPI fields
#1907 opened by Melinysh - 0
Missing Union import for `oneOf` definitions
#1895 opened by pmbrull - 0
How to change endpoints naming template?
#1904 opened by funnydman - 0
- 0
datamodel-codegen produces class with missing body parts
#1901 opened by degenaro - 0
Imports break when schema files are named the same as a schema defined within them
#1896 opened by AniketDas-Tekky - 0
Discriminated Union with Literal with multiple values results in single Literal value
#1878 opened by ldej - 0
Strict types don't enforce field constraints
#1884 opened by colinbr96 - 1
- 0
- 0
- 0
- 0
- 0
Broken backwards compatibility with black
#1853 opened by rmargar - 0
JSON schema readOnly support
#1847 opened by majorostamas - 1
- 0
linkml export support?
#1841 opened by yarikoptic