Replies: 1 comment 3 replies
-
Hi @sdil ! For the moment, Fuego doesn't support file uploads and multi file upload. Please use We'll definitely work on that ;) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I handle file upload in Fuego? From my understanding, file upload has to use
multipart/form-data
request but there's a way to write OpenAPI spec for that https://swagger.io/docs/specification/v3_0/describing-request-body/multipart-requests/Does Fuego support this and can it produce correct OpenAPI spec for this endpoint? It seems like data serialization/deserialization in Fuego does not support
multipart/form-data
request.I tried to create 1 endpoint that accepts binary file that looks like below:
When I tried to make a curl request, I get the following:
And I get observe the following error in the log:
Ideally, I want to be able to upload multiple files into the server.
Beta Was this translation helpful? Give feedback.
All reactions