You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
When response schema uses additionalProperties with $ref, the generated return type for request method is dict(str, list), which fails to deserialize because list doesn't specify item types.
@keymone can you try using the python-experimental generator?
The fix that you referred to is for the python-experimental generator, not the python generator. They are different.
ah, i see. i didn't try experimental because there isn't a version tag (edit: with your fix in 7383) i can refer to for deterministic builds, so i switched to normal python. will try in a sec.
Bug Report Checklist
Description
When response schema uses additionalProperties with $ref, the generated return type for request method is
dict(str, list)
, which fails to deserialize becauselist
doesn't specify item types.openapi-generator version
4.3.1, 5.0.0-beta, master
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Observe that:
lists a return type
dict(str, list)
.Related issues
I would expect this to have been fixed by #7383, but it still fails on master.
cc @spacether
The text was updated successfully, but these errors were encountered: