-
Notifications
You must be signed in to change notification settings - Fork 429
Bug(openapi): 422 response added to operations when validation is off #6435
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
Comments
Hey @amin-farjadi! Thanks a lot for opening this issue! Do you want to send a PR to fix this? |
Hi @leandrodamascena, yes happy to. Will do |
Thanks a lot and sorry for the delay in replying! Things are super busy. |
|
Expected Behaviour
Current Behaviour
above fails
Code snippet
provided
Possible Solution
Add 422 response in
APIGatewayResolver
(subject toenable_validation=True
), not inRoute
.Steps to Reproduce
run above
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.12
Packaging format used
PyPi
Debugging logs
The text was updated successfully, but these errors were encountered: