Closed uncle-lv closed 8 months ago
thanks for fixing these! I'll merge and release these File field fixes when i get some time today
Hi, thanks for the fast fix of this issue. I'm triying to check the fix, but now the error comes when add a file, i had the same 422 error
thanks.
Hi, thanks for the fast fix of this issue. I'm triying to check the fix, but i can't use the new code, whuen I install apiflask i think that not dowload the new version.
When will be available the new version?
thanks.
A new version of apiflask hasn't been released. And I don't have permission to do it. @greyli usually releases new versions on weekends.
For this bug, you can just upgrade your flask-marshmallow after it's new version is released.
Yes sorry, was mi mistake, I didn't read the error, the plobelms comes for the file extension.
Yes now all it's working fine.
Thans!
When we don't select a file, swagger send an empty value like this:
Then the value of
File
field(namedimage
above) is an empty string, and aValidationError("Not a valid file.")
occurs. But in fact it's missing.