-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Registers media type text/xml
for RESTEasy Reactive with JAXB
#25888
Conversation
text/xml
for RESTEasy Reactive with JAXB
263b302
to
3f8d8bb
Compare
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.
LGTM
LGTM, @Sgitario do you agree as well? |
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 agree with registering the media type text/xml
too.
There is one missing place where it should be added as well:
Line 13 in c564a99
private static final List<MediaType> SUPPORTED_MEDIA_TYPES = Arrays.asList(MediaType.APPLICATION_JSON_TYPE,
Plus, a minor suggestion too.
...java/io/quarkus/resteasy/reactive/jaxb/common/runtime/serialisers/JaxbMessageBodyReader.java
Outdated
Show resolved
Hide resolved
3f8d8bb
to
15713a9
Compare
15713a9
to
d3b3623
Compare
Fixes #25884 by adding the JAXB message body writers and readers for
text/xml
. Will still default toapplication/xml
if unspecified for the message body writer.Let me know if I should add this somewhere else too or provide some more (integration) tests.