Validate multi value query parameter

Issue #375 new
Former user created an issue

Hi,

I set my user_id parameter as style:form and explode:false.

But when call with /users?user_id=1,2,3 . it returns error: "Parameter 'user_id' expected an array style of 'form' [explode=false]"

But according documentation it should be okay.

I've checked it fails in here. And reason looks like isMultiValueParam in ArraySeparator class. Because isMultiValueParam set as false when you set style:form and explode:false. In here you can see the condition.

I don't know how your test is passed in here, but it fails.

Comments (1)

  1. Log in to comment