-
-
Notifications
You must be signed in to change notification settings - Fork 629
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 None for a allow_none=True Date field #2266
Comments
That field definition appears to correctly allow |
Sorry about that. Hope this helps! Correct, None is allowed, so I sent a payload with value as None, I would expect that to not give me a validation error. |
Are you using apispec to generate your OpenAPI spec? |
yes, I am |
This sounds like it might be related to marshmallow-code/apispec#833. Have you upgraded to |
Hello,
I have a field called closedDate that could be set as None for a patch operation
However, I end up getting openapi validation error for this -
The input for this patch operation is {"closedDate": null}
How do ignore/skip validation on a None field?
The text was updated successfully, but these errors were encountered: