thiagobustamante / typescript-rest

This is a lightweight annotation-based expressjs extension for typescript.
MIT License
523 stars 110 forks source link

Multer #150

Open giladsch opened 4 years ago

giladsch commented 4 years ago

How to i use multer with the library? I use multer for uploading files. In my code I have export upload Array = multer({}).array('files'). And it is kind of Middleware that accept the request and the response but I don't have them so I can I get them or have some workaround? So if some one use this library with multer I would like to know how.

donaldpittard commented 2 years ago

Checkout the @FileParam decorator for your request parameters: https://github.com/thiagobustamante/typescript-rest/wiki/Request-Parameters