OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
20.64k stars 6.29k forks source link

[JAVA] RxJava3 Support #6621

Open tgerth opened 4 years ago

tgerth commented 4 years ago

Description

We would like to add a useRxJava3 setting with retrofit2 which would result in:

ext {
    retrofit_version = "2.0.2"
    rx_java_version = "3.0.4"
}
dependencies {
    compile "com.squareup.retrofit2:retrofit:$retrofitVersion"
    compile "com.squareup.retrofit2:converter-gson:$retrofitVersion"
    compile "com.github.akarnokd:rxjava3-retrofit-adapter:3.0.0"
    compile "io.reactivex.rxjava3:rxjava:$rx_java_version"
}
auto-labeler[bot] commented 4 years ago

👍 Thanks for opening this issue! 🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.