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

Fix formdata parameter validation for OAS3 #1374

Merged
merged 1 commit into from
Jun 29, 2021
Merged

Conversation

RobbeSneyders
Copy link
Member

Fixes #1020. Fixes #1160. Fixes #1340. Fixes #1343.

The previous fix which tries to catch a KeyError does not work since self.parameters is a defaultdict. Changed to an explicit if check instead.

@coveralls
Copy link

coveralls commented Jun 28, 2021

Coverage Status

Coverage increased (+0.07%) to 97.145% when pulling 0ef5f97 on bugfix/oas3-formdata into a141f8b on main.

tests/decorators/test_validation.py Outdated Show resolved Hide resolved
@RobbeSneyders RobbeSneyders merged commit 602f708 into main Jun 29, 2021
@RobbeSneyders RobbeSneyders deleted the bugfix/oas3-formdata branch June 29, 2021 07:19
@hjacobs hjacobs added this to the 2.8 milestone Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants