v6.2.0 is a minor release with one important breaking change (with fallback). The python
generator has been refactored (replaced with python-experimental
) with breaking changes. Please give it a try and let us know if you've any feedback.
Given that python-experimental contains breaking changes, users can fallback to python-prior
after this PR if they prefer not to upgrade at the moment for whatever reasons.
After the PR, the future development of python (which follows a JSON schema focused design) will be moved to a new project named "openapi-json-schema-generator" under https://github.com/openapi-json-schema-tools. If you've any questions, feedback or issues, please open a ticket. Anyone wants to contribute a client/server generator with a focus on JSON schema should contribute to "openapi-json-schema-generator".
At the same time, @wing328 is leading an effort to create a new Python client generator based on the design of other popular clients in this project such as Java, C#, PHP, Ruby and more to make the overall developer experience more consistent. The goal is to have the new Python client generator replacing/sunsetting all existing python client generators in the openapi-generator project at the moment for easier maintenance.
Python
- Switches python-experimental in as the primary python client https://github.com/OpenAPITools/openapi-generator/pull/13501
- [python-experimental] removes enum cls factory https://github.com/OpenAPITools/openapi-generator/pull/13491
- [python-experimental] reduces python version to 3.7 https://github.com/OpenAPITools/openapi-generator/pull/13481
- [python-experimental] improves documentation https://github.com/OpenAPITools/openapi-generator/pull/13477
- [python-experimental] Fix error message https://github.com/OpenAPITools/openapi-generator/pull/13471
- [python-experimental] simplifies type checking https://github.com/OpenAPITools/openapi-generator/pull/13437
- [python-experimental] adds more base class mixins, preparation for v3.1.0 type arrays https://github.com/OpenAPITools/openapi-generator/pull/13436
- [python-experimental] Enhance octet-stream deserialize https://github.com/OpenAPITools/openapi-generator/pull/13402
- Adds IJsonSchemaValidationProperties format getter and setter +uses the format info https://github.com/OpenAPITools/openapi-generator/pull/13360
For a full list of changes, please refer to the "Pull Request" tab.