swagger-codegen icon indicating copy to clipboard operation
swagger-codegen copied to clipboard

Swagger generated android-client code not working for new api

Open saravanans-arch opened this issue 8 years ago • 1 comments

  • Please kindly update your android code for latest api.
  • And the dependencies are deprecated.
  • And kindly use retrofit for http requests. I'm totally wasted 2 days for fixing issues. Finally i knows it will not working for latest api.

saravanans-arch avatar Jun 27 '18 05:06 saravanans-arch

Just to add to this a little bit, the code generator for the Calls class has a few errors:

public enum List &l t; VersionsEnum &g t; { 1.0, 1.1, 1.2, 1.3, };

&l t and &g t aren't generated correctly, edit: I put a space in between the l/t g/t to make the compile error more apparent.

After fixing this manually VersionEnum is an unresolved symbol.

chaneylc avatar Jul 20 '18 15:07 chaneylc