Skip to content
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

[Java][Microprofile] JSON enum processing fix #6700

Conversation

Ravisankar-Challa
Copy link
Contributor

@Ravisankar-Challa Ravisankar-Challa commented Jun 17, 2020

Getting an exception when process enum values. This PR will resolve the issue.
Microprofile client generated using latest snasphot throws java.lang.ClassCastException: java.lang.String cannot be cast to com.example.Order$StatusEnum when processing enum.

@Ravisankar-Challa Ravisankar-Challa force-pushed the microprofille_client_json_enum_fix branch from 539b3f3 to 0dcda35 Compare June 17, 2020 15:33
@wing328
Copy link
Member

wing328 commented Jun 18, 2020

cc @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) @bkabrda (2020/01)

@wing328 wing328 added this to the 5.0.0 milestone Jun 18, 2020
@wing328 wing328 changed the title Microprofille client json enum processing fix [Java][Microprofile] JSON enum processing fix Jun 21, 2020
@wing328 wing328 merged commit 4bb5afd into OpenAPITools:master Jun 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants