How to upload file to stream from swagger?

Viewed 1335

I was wondering how you would generate the swagger UI to upload a file as a stream to the ASP.net Core controller.

Here is a link describing the difference between uploading small files vs. big files.

Here is the link of describing how to implement the upload for a small file, but doesn't elaborate on how to implement a stream.

https://www.janaks.com.np/upload-file-swagger-ui-asp-net-core-web-api/

Thanks, Derek

1 Answers
Related