Description
How to generate a @dataclass
from OpenAPI YAML specification?
I have an OpenAPI YAML specification file.
I ran the following command:
openapi-python-client generate --path <file_path>
The generated files don't have a @DataClass as mentioned in the documentation here: https://pypi.org/project/openapi-python-client/0.6.0a4/
I see that in a change log, the support was removed: https://github.com/openapi-generators/openapi-python-client/blob/7af73233212ccfbf5f98db68e1039c593f564a2d/CHANGELOG.md#breaking-changes-7
Is this correct? If yes, then is it true that the library will no longer be able to generate @dataclass
using the YAML specifications?
Describe the solution you'd like
Generate @dataclass
using YAML specifications
Describe alternatives you've considered
Write our own @dataclass
Sorry for posting a question in a "Feature Request". I couldn't find a way to post a question here.