datamodel-code-generator
datamodel-code-generator copied to clipboard
Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
Hi, first of all thank you for the project this looks really interesting! **Is your feature request related to a problem? Please describe.** All the versions in requirements are pinpoint...
There is no document of the custom template. We should write a document on how to use the feature. ## Related issues https://github.com/koxudaxi/datamodel-code-generator/issues/144
**Feature request / Problem description.** Just like how OpenAPI models are currently supported, probably protobuf can be a great addition. Having this, for example, would especially help in building tools...
This PR supports `byte` of string format. OpenAPI expects that byte is base64-encoded characters. https://swagger.io/docs/specification/data-models/data-types/#string But, I don't know how do we treat encoded/decoded values like base64 in Pydantic. I...
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.4.2 to 8.5.2. Release notes Sourced from mkdocs-material's releases. mkdocs-material-8.5.2 Updated Mermaid.js to version 9.1.7 Fixed overly large headlines in search results (8.5.0 regression) Fixed #4358: Navigation...
**Describe the bug** I've encountered two different problems when trying to use datamode-code-generator with json schemas that have the `oneOf` property: 1. `oneOf` generates code that can't parse valid data...
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.9.14. Commits 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1 47fb7ab Fix deprecation warning...
Bumps [immutables](https://github.com/MagicStack/immutables) from 0.18 to 0.19. Release notes Sourced from immutables's releases. v0.19 Changes Support for Python 3.11 Commits 06e2a04 immutables v0.19 85b3542 Update pythoncapi_compat.h (#93) 4a4d625 Update actions, test...
Bumps [idna](https://github.com/kjd/idna) from 2.10 to 3.4. Changelog Sourced from idna's changelog. 3.4 (2022-09-14) ++++++++++++++++ Update to Unicode 15.0.0 Migrate to pyproject.toml for build information (PEP 621) Correct another instance where...
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.27.1. Release notes Sourced from requests's releases. v2.27.1 2.27.1 (2022-01-05) Bugfixes Fixed parsing issue that resulted in the auth component being dropped from proxy URLs....