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
I have a response to be deserialized as NSDictionary<NSString*, NSArray<MbsmStationInfoDto>*> class. However while executing deserialize operation, it behaves like it's an array, and try to deserialize it as array.
Swagger-codegen version
v2.2.3
Suggest a fix/enhancement
I think, it is caused match = [self.arrayOfModelsPatExpression firstMatchInString:className options:0 range:range];on generated class {Prefix}ResponseDeserializer.m returns a not null NSTextCheckingResult.
Thus [self deserializeArrayValue:jsonData innerType:innerType error:error];
this line executed and Type Mismatch Error occured.
The text was updated successfully, but these errors were encountered:
Description
I have a response to be deserialized as
NSDictionary<NSString*, NSArray<MbsmStationInfoDto>*>
class. However while executing deserialize operation, it behaves like it's an array, and try to deserialize it as array.Swagger-codegen version
v2.2.3
Suggest a fix/enhancement
I think, it is caused
match = [self.arrayOfModelsPatExpression firstMatchInString:className options:0 range:range];
on generated class{Prefix}ResponseDeserializer.m
returns a not null NSTextCheckingResult.Thus
[self deserializeArrayValue:jsonData innerType:innerType error:error];
this line executed and Type Mismatch Error occured.
The text was updated successfully, but these errors were encountered: