-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Expand Style Examples #3250
Comments
Is that querystring format defined somewhere? |
It seems I can't find an RFC for that format, it's simply how PHP formats and parses query strings. i.e. http_build_query(). |
@charjr I believe # ?param[]=X¶m[]=Y
parameters:
- in: query
name: 'param[]' # <-----
schema:
type: array
items:
type: string
example: [X, Y]
style: form # 'style' and 'explode' can be omitted here
explode: true # because these are the default values |
Looks like this has been answered, so I'm going to close this - please open a new issue if there are remaining questions. Note that |
Looking at the Style Examples I cannot see what style I should use in the following instance:
A parameter
in: query
oftype: array
such that I could accept the following query string:?param[]=X¶m[]=Y
If someone could enlighten me on this (and any other examples you can think of that might be missing) I would be happy to make a PR that adds them.
The text was updated successfully, but these errors were encountered: