[Java][REQ#8015] [Client] Microprofile Jackson serialization support#15940
[Java][REQ#8015] [Client] Microprofile Jackson serialization support#15940wing328 merged 1 commit intoOpenAPITools:masterfrom
Conversation
|
Thanks for the PR but your commit (as shown in the Commits tab) is not linked to your Github account, which means this PR won't count as your contribution in https://github.com/OpenAPITools/openapi-generator/graphs/contributors. Let me know if you need help fixing it. |
c070039 to
38549cc
Compare
|
Thank you for the alert @wing328 ! |
|
This PR is highly anticipated. Thanks @hightea |
There was a problem hiding this comment.
Can you please add the new folders to .github/workflows/samples-java-client-jdk11.yaml so that the CI will test the changes moving forward?
There was a problem hiding this comment.
I tested the output locally with mvn clean package but got the following errors (partial output):
[ERROR] /Users/williamcheng/Code/openapi-generator7/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java:[74,6] cannot find symbol
[ERROR] symbol: class XmlEnumValue
[ERROR] location: class org.openapitools.client.model.Pet.StatusEnum
[ERROR] /Users/williamcheng/Code/openapi-generator7/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java:[74,73] cannot find symbol
[ERROR] symbol: class XmlEnumValue
[ERROR] location: class org.openapitools.client.model.Pet.StatusEnum
[ERROR] /Users/williamcheng/Code/openapi-generator7/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java:[74,134] cannot find symbol
[ERROR] symbol: class XmlEnumValue
[ERROR] location: class org.openapitools.client.model.Pet.StatusEnum
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
There was a problem hiding this comment.
Hi, thanks for your tests. I'm currently in vacation, but I'll look into it as soon as possible.
There was a problem hiding this comment.
Take your time. Enjoy your vacation.
38549cc to
e4839b6
Compare
|
circleci node 4 failure already fixed in the master. |
|
Tested locally again and the result is good. Thanks for the PR. |
|
@lostiniceland the PR has been merged. Please feel free to sponsor @hightea work directly or indirectly via https://opencollective.com/openapi_generator |
This PR adds support for Jackson serialization in the Microprofile library for the Java client.
Two samples have been added, one with jackson serialization, the other with jackson AND xml.
Summary of changes:
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master(6.3.0) (minor release - breaking changes with fallbacks),7.0.x(breaking changes without fallbacks)@bbdouglas (2017/07) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01) @karismann (2019/03) @Zomzog (2019/04) @lwlee2608 (2019/10)