I'm relatively new to NestJS development and I'm trying to return a multipart response consisting of a file and some JSON text.
The file itself wasn't a problem using StreamableFile.
However I'm having a hard time finding some info on how to create a multipart response. I only find guides on how to do it the other way (uploading).
I tried FormData and got something back with Swagger, but either the file is way too small or some other weird stuff happens.
Anybody here with an example that could help me?