We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like allowEmptyValue not implemented. The goal is to produce a query parameter ?param1 without any value and the '=' sign. Tried the following
?param1
{ in: "query", name: "param1", type: "string", required: false, allowEmptyValue : true }
with different type, but can't send ?param1 in the URL. The closest I can get is ?param1=true using:
?param1=true
{ in: "query", name: "param1", type: "string", required: false, enum : ["true"] }
Ideally, if allowEmptyValue = true, then ui presents a checkbox: when checked send ?param1, else just do not include the parameter.
The text was updated successfully, but these errors were encountered:
Same here, very useful to implement reset logic for values, otherwise it can't be implemented.
For case:
required: false, allowEmptyValue : true
need to draw checkbox. If you check it - the swagger ui will send ?param1 or ?param1=, otherwise there no be parameter in request.
?param1=
Is there any progress on this?
Sorry, something went wrong.
allowEmptyValue
Successfully merging a pull request may close this issue.
Looks like allowEmptyValue not implemented. The goal is to produce a query parameter
?param1
without any value and the '=' sign. Tried the followingwith different type, but can't send
?param1
in the URL. The closest I can get is?param1=true
using:Ideally, if allowEmptyValue = true, then ui presents a checkbox: when checked send
?param1
, else just do not include the parameter.The text was updated successfully, but these errors were encountered: