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
I have a swagger spec like below:
{ ... "/somepath": { "get": { "parameters: [{ "in": "query", "name": "path", "required": true, "type":"string" }] ... }
and when I request with no path in query, validator does not return error.
Is it not supported yet?
I am using Swagger version 2.0.
The text was updated successfully, but these errors were encountered:
Hi @emmasuzuki there's no support for query parameters validation at this point. The only thing that gets validated is request body - https://github.com/gargol/swagger-express-validator/blob/master/index.js#L205 . That would be actually a cool feature to implement in the future
Sorry, something went wrong.
I see, thanks. I agree it would be nice to have that feature.
No branches or pull requests
I have a swagger spec like below:
and when I request with no path in query, validator does not return error.
Is it not supported yet?
I am using Swagger version 2.0.
The text was updated successfully, but these errors were encountered: