-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
I must be missing something completely. My usecase is a simple GET endpoint taking a list of Long ids and returning associated data.
I modelled the input parameter "ids" as
data class ProductImagesRequest(@QueryParam("multiple ids.") val ids:List<Long>)
When calling it with parameters like ?ids=1&ids=2&ids=3
I get this error:
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList<java.lang.Long>` out of VALUE_STRING token
Why would a request parameter be deserialized from xml or json?
I love this library BTW, it's a very elegant solution!
Metadata
Metadata
Assignees
Labels
No labels