jnwltr / swagger-angular-generator

Generator of API layer in TypeScript for Angular 2+ apps
MIT License
91 stars 46 forks source link

Fix #23: Endpoints for file uploads should be improved #110

Open abauske opened 4 years ago

abauske commented 4 years ago

Uploading Files now works by using FormData object to set the file(blob).

Please see line 184 where I use array.map(function) instead of map(array, function). I noticed you are using the later one in the project. What's the advantage and should I switch it over?

any other comments?

fixes #23