-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Custom mimetype causes quarkus-rest-client-reactive being unable to deserialize #21957
Comments
Does the same thing work with the old rest client? The basic question I guess is, why do you expect it to work? |
Hi @geoand. I saw, that it is quite common with custom mimetypes to match the pattern |
#22021 should take care of it |
Support media type suffixes in reactive rest client
Fixes: quarkusio#21957 (cherry picked from commit ee400a7)
Fixes: quarkusio#21957 (cherry picked from commit ee400a7)
Describe the bug
Reactive rest client does not deserialize custom, "json-like" mimetypes (e.g. application/*+json) are not deserialized correctly.
Expected behavior
All mimetypes matching the pattern
application/*+json
should be deserialized using JacksonActual behavior
Rest client throws the following error:
How to Reproduce?
Small reproducer:
test.zip
Execute:
curl http://localhost:8080/hello
Output of
uname -a
orver
Linux elitebook 5.15.6-200.fc35.x86_64 #1 SMP Wed Dec 1 13:41:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "11.0.13" 2021-10-19 OpenJDK Runtime Environment 18.9 (build 11.0.13+8) OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.5.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: