Open rym236 opened 1 month ago
Hello!
Old version returned Object as a return type. New version supports responses as models. In your case it's LoginJsonPost$Response. Previously, you had Object and needed to parse it manually.
Regarding your error (Response<LoginJsonPost$Response>' in type cast) I need more details. On which line it's occurs?
The project was like this from the beginning and everything worked well.
After regenerating the chopper code, it became like this and now an error occurs when trying to log in Error:type 'Response' is not a subtype of type 'Response<LoginJsonPost$Response>' in type cast:
However, the swagger code for this method has not changed. Please tell me why this is happening, what needs to be done to return to the previous state?