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 generateOneOfAnyOfWrappers option used in kotlin generator and gson serialization library, model classes contains CustomTypeAdapterFactory, which should be used to correctly serialize/deserialize oneOf/anyOf parameters. But this factories are not used out of the box.
openapi-generator version
7.10.0
Suggest a fix
We should just generate this factories registration in Serializer.kt, like in jvm-retrofit2 ApiClient
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Bug Report Checklist
Description
When generateOneOfAnyOfWrappers option used in kotlin generator and gson serialization library, model classes contains CustomTypeAdapterFactory, which should be used to correctly serialize/deserialize oneOf/anyOf parameters. But this factories are not used out of the box.
openapi-generator version
7.10.0
Suggest a fix
We should just generate this factories registration in Serializer.kt, like in jvm-retrofit2 ApiClient
The text was updated successfully, but these errors were encountered: