File posting has stopped sending the file contents
I have an operation with five parameters - three path strings, a header string and a file (parameter type is form). The three path strings and the header value are sent correctly but the content length is now zero. The Content-Type header is set to multipart/form-data (without the boundary section).
This worked fine with a version of Swagger UI from March 2013.
I don't know whether it's problem with Swagger UI or Swagger JS.
Yes, file upload is not functioning in the latest 2.0 release. It should be back shortly
Any progress on this issue?
Hi, a generic solution isn't ready yet. There are two quick paths, neither of which are what I call ideal.
-
To keep posting the file via jquery, bypassing the new js client (and all the authentication work)
-
To post only smaller files, which would require them to be read into memory.
fixed in 2.0.3