-
Notifications
You must be signed in to change notification settings - Fork 6k
adding support for both Java client using Netflix Feign and JMeter tests #1625
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
Conversation
|
@davidkiss thanks for the PR. The build failed with the following error message: |
|
@wing328 it's my bad. I forgot to check-in the class to git. Let me fix
|
|
The code should be fixed now. |
|
@davidkiss I just pushed a commit to include petstore sample for feign: https://github.com/xhh/swagger-codegen/commit/eb0e47461c09e442384a7034bce215525be9279d However, there's compilation error: cd samples/client/petstore/java/feign
mvn compile
[ERROR] /Users/xhh/builds/swagger-codegen/samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/UserApi.java:[3,24] error: cannot find symbolIt seems that |
|
@davidkiss FYI. Here is the contribution guidelines: https://github.com/swagger-api/swagger-codegen/wiki/Guidelines-for-Contribution |
|
Thanks for the guideline. I'm progressing with the changes suggested and
|
|
@davidkiss and most importantly, thanks for your contribution to make the Java API client better :) |
|
I don't seem to have permissions to push to On Wed, Dec 2, 2015 at 11:14 AM, wing328 notifications@github.com wrote:
|
|
@davidkiss right, you juts need to update your branch by pulling (fetch and merge) my branch: git add xhh git@github.com:xhh/swagger-codegen.git
git fetch xhh
git merge xhh/davidkiss-masterthen the next time you |
Conflicts: samples/client/petstore/java/feign/README.md samples/client/petstore/java/feign/build.gradle samples/client/petstore/java/feign/pom.xml samples/client/petstore/java/feign/settings.gradle samples/client/petstore/java/feign/src/main/java/io/swagger/client/ApiClient.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/StringUtil.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/PetApi.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/StoreApi.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/UserApi.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Category.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Order.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Pet.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/Tag.java samples/client/petstore/java/feign/src/main/java/io/swagger/client/model/User.java
|
I merged davidkiss-master into my branch and added the unit tests. Is this something that can be fixed on the server side? Btw the PR should display my latest changes On Wed, Dec 2, 2015 at 11:53 PM, Xu Hui Hui notifications@github.com
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried the mustache tag isBodyParam to see if it meets your requirement? If it does, I suggest we avoid introducing another tag x-isBody via vendor extensions.
Ref: https://github.com/swagger-api/swagger-codegen/wiki/Mustache-Template-Variables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I replaced x-isBody with isBodyParam as suggested
|
@davidkiss thanks. We'll review and merge accordingly. |
adding support for both Java client using Netflix Feign and JMeter tests
|
@davidkiss FYI. I submitted #1700 to updated the sample and test case (ignored testLoginUser for the time being) |
|
Thanks, @wing328!
|
I updated code to include 'feign', a new java library and also created a CodegenConfig for JMeter