I'm having a problem with Swagger UI when trying to download a PDF file. Everything works fine outside Swagger UI (using curl
or Postman there is no problem), but when I try to download via Swagger UI I get a blank PDF.
I'm using Springfox 2.50 (microservice JHipster application), and the response from my Java Spring method is a HttpEntity<byte[]>
.
Edit: I found similar problem: Swagger UI Download PDF but it does not have any answers.