qusavin

Results 3 comments of qusavin

The issue with the library is that you're not setting the `responseType: blob` for requests with `Content-Type: application/octet-stream`

And when the response is parsed, it tries to parse it as json and crashes with an error "SyntaxError: Unexpected token ... is not valid JSON".

And also, when calling __request, you don't set the 'Content-type': 'application/octet-stream' in options for requests with 200 statuses in the swagger and application/octet-stream in content Here is an example of...