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

Allow to omit response validation #211

Open
iliayatsenko opened this issue Oct 28, 2023 · 0 comments · May be fixed by #237
Open

Allow to omit response validation #211

iliayatsenko opened this issue Oct 28, 2023 · 0 comments · May be fixed by #237

Comments

@iliayatsenko
Copy link

Current implementation of \League\OpenAPIValidation\PSR15\ValidationMiddleware always validates both request and response. But I my API returns long lists of large JSON objects, and response validation becomes a bottleneck. I would like to omit it for some endpoints. It would be great to have the ability to configure it somehow, without necessity to edit or extend library classes.

Thanks to all of contributors!

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