Replies: 2 comments 2 replies
-
What version of RESTEasy are you using? Also, could you provide a use-case for this? Even just a simple example method. I'm not quite sure I follow. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Version - 4.7.7.Final (using via Quarkus) @POST
@Consumes("multipart/form-data")
public void postForm(@MultipartForm Request request) {
}
class Request {
@FormParam
List<Content> content; <-- mapping several files
} And we can get several values by one name via |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Should not
@MultipartForm
support mapping in collection fields? Of course technically it is supported, but with only firstInputPart
.I suggest in case where field type is List/Set in MultipartFormAnnotationReader we should do something like this
instead of
If it is reasonable, i can make PR
Beta Was this translation helpful? Give feedback.
All reactions