-
Hey folks, While migrating to Quarkus 3.x, I noticed an issue with one of my RestClients. I managed to reduce this to a minimal example showing the issue, but I cannot determine whether I'm doing something wrong that used to work by chance or if I found a genuine bug. Here goes:
Simply running the following test with Quarkus 3.x:
Gives:
Now going back to the latest 2.x release, and adapting the import s/jakarta/javax, I have a working example. The issue is clearly linked to the usage of the multipart object for some reason, but I don't see where I'm wrong/if I'm wrong. I didn't find any issue/PR related to this either. Repo in case someone wants to have a look: https://github.com/PierreBtz/quarkus-rest-easy-client-bug Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
/cc @Sgitario (rest-client), @cescoffier (rest-client), @geoand (rest-client) |
Beta Was this translation helpful? Give feedback.
As a workaround, you can annotate the InputStream field with
@PartFilename(...)