Enhancement/kotlin/retrofit2#5697
Enhancement/kotlin/retrofit2#5697ch4rl3x wants to merge 19 commits intoOpenAPITools:masterfrom Dataport:enhancement/kotlin/retrofit2
Conversation
|
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
|
@4brunu you was right. I checked it again, was my fault. moshiBuilder/gsonBuilder as lazy is not neccessary. I changed it also back to val instead of var, like before |
|
The PR ir really big, and a bit difficult to review. |
|
Thats a good question. The kotlin-retrofit2 library was too simple. We tooked most parts from java-retrofit2. Because of that, its such a big PR |
|
I saw that you changed the path of all the sample projects, and I think that's whats causing some many files being changed. |
|
Ok, so do i have to close these PR and create a clean, new one? |
|
No, you can keep this one open. |
|
@wing328 I will make a new/simpler PR without renaming etc |
|
I will make a new PR within the next few weeks hopefully |
#5076
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.PR Description
This PR add the option to use koltin suspend functions combined with retrofit2. Also adds more complexity (authorization) and ability to customization to the ApiClient.
@jimschubert @dr4ke616 @karismann @Zomzog @andrewemery @4brunu