docusaurus-openapi-docs
docusaurus-openapi-docs copied to clipboard
File download always with same name "file.<extension>"
Describe the bug
When the API we are calling, is sending a file with correct "Content-disposition" header that contains filename, the browser is downloading a file with a generic filename "file"
Expected behavior
The download of the file from the browser start with the correct filename.
Current behavior
The download of the file from the browser start with a generic filename "file".
Steps to reproduce
Pre-requisites: having an API endpoint that returns a file with correct headers in response (see screenshot) Sending a request to that endpoint and trying to click "Send API Request".
Screenshots
Your Environment
- Version used: v3.0.0-beta.4 (Docusaurus version 3.1.0)
- Environment name and version:
- Docusaurus side: Chrome Browser 122.0.6261.71 (Official build 64 bit);
- BE side: SpringBoot BE engine and NGINX web server
- Operating System and version (desktop or mobile): Windows 11 Desktop