-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Query parameter default array values not rendered correctly #1806
Comments
@cmeeren HI, I try to reproduce it but seems I miss something. Can you share additional steps to reproduce? Here is my definition. It works on my side.
|
@cmeeren Why do you need additional |
The dash is part of the value. In the JSON:API format, it indicates that the column should be sorted descending. It should be irrelevant here. |
@cmeeren We found the problem. We'll fix it. Thank you for your help. |
Consider the following query parameter definition:
It is rendered like this:
As you can see, the enumeration and the example renders correctly, but not the default value. It should be rendered like the example, with the query parameter name first and comma between the values.
Workaround: Format manually as string:
Using
@next
version from npm.The text was updated successfully, but these errors were encountered: