Open warrenbuckley opened 3 months ago
@warrenbuckley is this a regression? Are you able to hack it yourself by supplying certain headers? Do you know what's the missing piece to enable the desired behaviour?
Yeh unsure if it's my API or clientside. Where I can see the correct header in the response I would have expected this to 'just' work.
Can you verify if the request sent with the client has the same headers/payload as the one sent through Swagger UI? That would be normally the first line of attack. If both request and response are identical, I'd check if the response isn't being transformed somehow before being returned. If you can hack it and find out what the culprit is, it will be much faster for me to fix
Yeh of course will investigate & let you know
Description
Problem
Using the generated client the browser is not prompting the user to auto download the file.
Response Headers
Swagger UI
Reproducible example or configuration
Default config just using simple args as a node script
OpenAPI specification (optional)
System information (optional)
Windows 11
v20.15.1
10.7.0
"@hey-api/openapi-ts": "^0.49.0"