You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add a file upload endpoint, using Multer, but the same goes for others choices too (express-fileupload and raw busboy). I get 'Unexpected end of form' when trying the endpoint from Swagger.
Up until now I took for granted it was my code to blame, but now I suspect it might have something to do with the scaffolded code from this project.
(where /api/v1/upload is the endpoint I added for file uploads) does work around the problem, which suggests the validator is to blame. I can live without validating file uploads, but it's not an acceptable solution in general.
I'm trying to add a file upload endpoint, using Multer, but the same goes for others choices too (express-fileupload and raw busboy). I get 'Unexpected end of form' when trying the endpoint from Swagger.
Up until now I took for granted it was my code to blame, but now I suspect it might have something to do with the scaffolded code from this project.
Here is my question at StackOverlow, which has all the details, and here is a minimal reproducible example of the problem.
The text was updated successfully, but these errors were encountered: