Open naeioan opened 7 years ago
Thanks for sorting that out!
Did you guys find a work around for this. I'm having the same issue returning a PNG file and getting the error TypeError: Object of type 'Response' is not JSON serializable
Any work arounds?
FWIW, looks like there is a PR that is ready for merge with a new swagger version. https://github.com/noirbizarre/flask-restplus/pull/384
I just reverted to the older version....
Hi,
There is an issue (basically swagger messes up the encoding of the file) when adding binary data into Response, that seems to be originated in Swagger (https://github.com/swagger-api/swagger-ui/issues/2132). It seems that the issue is solved in version 2.2.10 ? Do you have any plans of upgrading swagger or patching this ? Are there any workarounds ?
Thank you