-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support latest Retrofit 2 v2.0.0-beta4 #2149
Conversation
@dhontecillas thanks for the PR. Please update retrofit2 petstore sample so that CI can verify the change. Ref: https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md#testing |
Maybe you also push the okhttp version to okhttp3 because the beta4 for retrofit pushes this also to the same version and at least introduced some bugs at my instaltion |
Btw, one of your commits (in the |
I think the okhttp3 dependency should be removed since it is already included in retrofit2 |
@dhontecillas may I know if you're updating the PR with the feedback from @cbornet and @DerPate? Let us know if you need any help. |
I'm sorry, I'm crunching for a release that I have the Feb 24th, so I don't expect to fix the pull request until the end of this week. If that is no problem, I will update it. |
Thanks for the update. Please take your time :) |
I've updated the tests for retrofit2 library, as suggested in the comments. Can you check everything is ok ? |
@dhontecillas I did some tests and found some minor issues:
I believe you need to update build.gradle (mustache) as well.
|
I fixed the templates but I still have to check the gradle build. |
I think that now it should be ok and ready to merge. |
@dhontecillas tested again and no longer encountered those issues. Thanks again for the PR. |
support latest Retrofit 2 v2.0.0-beta4
You are welcome. Thanks for the patience with the not so well done PR :) |
Given that it's your first PR to swagger-codegen, it definitely looks good. I hope by now you feel more comfortable making changes to swagger-codegen. If you're interested in making more enhancements to the Java API client, please refer to https://github.com/swagger-api/swagger-codegen/issues?q=is%3Aopen+label%3A%22Need+community+contribution%22+label%3A%22Client%3A+Java%22 |
Retrofit v2.0.0-beta4 introduces some package changes from beta3, that should be reflected in moustache templates.