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
{{ message }}
Repository navigation
[BUG] [kotlin-client] kotlinx_serialization deserialization fails on unexpected/unknown keys #13013
Deserialization of a response with an unexpected key leads to the following error
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 282: Encountered an unknown key 'card'. Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
openapi-generator version
6.0.1
Generation Details
using kotlinx_serialization as serialization library. gradle build specifics:
Activity
kassim commentedon Jul 26, 2022
fixed by #12930