Skip to content
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

Path and query validation #44

Open
yskeat opened this issue Jul 1, 2019 · 3 comments
Open

Path and query validation #44

yskeat opened this issue Jul 1, 2019 · 3 comments

Comments

@yskeat
Copy link

yskeat commented Jul 1, 2019

Any planning to include path and query validation in near future?

@naz
Copy link
Owner

naz commented Jul 3, 2019

Nothing concrete planned but contributions are welcome 😃

@kibertoad
Copy link
Collaborator

@yskeat If you need this functionality, you can also use express-ajv-swagger-validator (https://github.com/Zooz/express-ajv-swagger-validation), it already does support that. Or contribute feature to us :D

@fbo3264
Copy link

fbo3264 commented Aug 29, 2019

@yskeat I was facing the same problem and ended up using swagger-tools (see https://github.com/apigee-127/swagger-tools/blob/master/docs/Middleware.md). For query/path validation use the provided swaggerMetadata-middleware and for body-validation use the swaggerValidator-middleware

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants