Bug Report Checklist
Description
A newly generated python repo produces python tests. For the attached example, the error is AttributeError: module 'openapi_client.models.user_response_data' has no attribute 'UserResponse_data'.
openapi-generator version
The latest version (4.3.1) has this issue, but this issue goes back to 4.2.3. 4.2.2 is the newest version that doesn't generate failing tests.
OpenAPI declaration file content or url
https://gist.github.com/davidhao3300/c9584ee864bfbc6ca3d273d5c918509f
Generation Details
openapi-generator-cli generate -g python -i {path to swagger.json}
Steps to reproduce
python3 -m venv venv
source venv/bin/activate
openapi-generator-cli generate -g python -i {path to swagger.json}
pip install -r requirements.txt
pip install -r test-requirements.txt
python -m pytest test/
Related issues/PRs
Could not find one
Suggest a fix
I haven't done a bisect beyond knowing the issue is between 4.2.2 and 4.2.3. Happy to do a bisect if openapi-generator-cli is able to point to commits instead of git tags.
Bug Report Checklist
Description
A newly generated python repo produces python tests. For the attached example, the error is
AttributeError: module 'openapi_client.models.user_response_data' has no attribute 'UserResponse_data'.openapi-generator version
The latest version (4.3.1) has this issue, but this issue goes back to 4.2.3. 4.2.2 is the newest version that doesn't generate failing tests.
OpenAPI declaration file content or url
https://gist.github.com/davidhao3300/c9584ee864bfbc6ca3d273d5c918509f
Generation Details
openapi-generator-cli generate -g python -i {path to swagger.json}Steps to reproduce
Related issues/PRs
Could not find one
Suggest a fix
I haven't done a bisect beyond knowing the issue is between 4.2.2 and 4.2.3. Happy to do a bisect if openapi-generator-cli is able to point to commits instead of git tags.