flask-restx
flask-restx copied to clipboard
Fix multiform bug
This PR fixes the bug where Swagger does not interpreting an API consuming an array of files, as requiring the request to be a multipart-form. Others have reflected this problem, e.g. #177.
To fix this, this PR makes the following changes over 2 commits.
- First, expand test-suite to account for an array of files. If this test-suite had been expanded, the original codebase would have failed the test.
- Second, edit
swagger.py
to fix the bug. This passes the expanded test suite above.
@SteadBytes @a-luna @j5awry @ziirish can trouble one of you to look thru this PR? Thanks!
Was wondering if someone could approve this merge request so that uploads through restx work? Been having a tough time
Looks like this got approved and pushed somewhere, but ultimately never got merged?
Does anyone know if this fix will be merged?
@gerardoemr @pbaylies Thanks for bumping this, I will try and get it merged over the weekend and released if it's something you need!
Someone has updates on this PR? It would be great if it's merged to the main code base..