-
Notifications
You must be signed in to change notification settings - Fork 93
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
Validating query arguments of type array #182
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve by mistake!
@tyamahori Hi, same question as here #162 (comment) Isn't this notation valid only in deepObject serialization form ? I think we need to check this explicitly here |
@scaytrase This notation is valid if a query string is
Do you mean, you think |
no, I mean that deafult serealization method is
So if you want to provide query args in another format - you should specify another serialization style in your schema. From given styles I see https://swagger.io/docs/specification/serialization/ They specify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spec for test doesn't match test data
ref #181
Hi.
this pr makes it possible to accept query arguments of an array.
For example.
https://example.com?someKey[]=value1&someKey[]=value2
We will be able to validate
someKey[]
.