Browsed by
Schlagwort: Download

File Download and Upload with TSOA (Hack)

File Download and Upload with TSOA (Hack)

TSOA provides great flexibility for the task to create REST APIs for web services that conform to the OpenAPI specification. Unfortunately if your service consumes or produces files there is no easy way to setup service functions with TSOA yet. This article tries to provide an example that shows how files can be uploaded or downloaded from a REST service with TSOA, Aurelia and multer.