swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.
Right now if i generate for Java with retrofit2 and rxjava2, the output Retrofit service class will generate methods that return Observables. See example here.
However, I think it should generate methods that return RxJava2's Single. It looks like the Java/Vert.X already does this. See example here.
Right now if i generate for Java with retrofit2 and rxjava2, the output Retrofit service class will generate methods that return Observables. See example here.
However, I think it should generate methods that return RxJava2's Single. It looks like the Java/Vert.X already does this. See example here.