Is it possible to set in the c# controller response type Blob ? I automatically generate a client from swagger, and I want to return a blob to preview the pdf.
Angular
var f = new Blob([response], type: 'application/pdf'});
var url = URL.createObjectURL(f);
window.open(url);
c#
[ProducesResponseType(typeof(???), 200)]
[Procudes("application/pdf")
locally it works but on the server I have an error: http failure during parsing for ...