Uh oh!
There was an error while loading. Please reload this page.
[Kotlin][Client] Added supporting Retrofit2(RxJava/RxJava2/Coroutines) - #5750
Conversation
wing328
commented
Apr 2, 2020
Please merge the latest master into this branch to resolve the CircleCI failure. |
Merge with base repository
kuFEAR
commented
Apr 2, 2020
hm, merge is not helped |
Add dependencies for rxJava/rxJava2 and rx retrofit's adapter.
| : Serializable | ||
| { | ||
| ) : kotlin.mapOf<String, kotlin.Any>, Serializable { |
There was a problem hiding this comment.
Looks like broken for generics somewhere before my changes
4brunu
commented
Apr 3, 2020
kuFEAR
commented
May 12, 2020
#5600 Fixed encoding from 3. using {{{parent}}} |
kuFEAR
commented
May 12, 2020
|
| {{#moshi}} | ||
| @Json(name = "{{{vendorExtensions.x-base-name-literal}}}") | ||
| {{/moshi}} | ||
| {{#gson}} |
There was a problem hiding this comment.
Gson @SerializedName target only for method and fields
@target({ElementType.FIELD, ElementType.METHOD}) and Kotlin interface fields is not yet determined as field by kotlin compiler, I saw error message there
| {{#moshi}} | ||
| @Json(name = "{{{vendorExtensions.x-base-name-literal}}}") | ||
| {{/moshi}} | ||
| {{#gson}} |
There was a problem hiding this comment.
I have an idea add @get:SerializedName("field")
There was a problem hiding this comment.
If that works, it would be nice, because I use Gson on my projects
kuFEAR
commented
May 13, 2020
This error is related to my PR? |
4brunu
commented
May 13, 2020
I don't think so, it seems to be related to python, and the master branch was failing with the same error. |
kuFEAR
commented
May 13, 2020
ok, thanks |
wing328
commented
May 13, 2020
The issue has been fixed in the master. Please merge the latest master into this branch to fix the issue. |
kuFEAR
commented
May 13, 2020
now it fails on sudo apt-get install elixir |
wing328
commented
May 14, 2020
Restarted the CI job. Let's see how it goes. |
wing328
commented
May 18, 2020
Tested the kotlin retrofit2 samples and no longer encounter the issue. |
Added supporting Retrofit2(RxJava/RxJava2/Coroutines) for Kotlin client code generator
PR checklist
./bin/(or Windows batch scripts under.\bin\windows) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run./bin/{LANG}-petstore.sh,./bin/openapi3/{LANG}-petstore.shif updating the code or mustache templates for a language ({LANG}) (e.g. php, ruby, python, etc).master,4.3.x,5.0.x. Default:master.@jimschubert@dr4ke616@karismann@Zomzog@andrewemery@4brunu