External images are not rendered for the URL's versioned using OpenAPI specification/Swagger
The SSRS reports are not rendering the external images when the URL (an .net core API project) is OpenAPI specification versioned.
Request Reponse header.
Image not rendered in report
When I remove the versioning for the same endpoint, the images are rendered correctly.
Uploaded wrong image. (First image, the response header when the api versioning is done)
Provide a minimal project based on ReportViewerCore.Sample in this repo which reproduces the behavior.
I see. ReportViewer indeed validates received Content-Type of images and reject anything other than image/bmp, image/jpeg, image/gif, image/png, image/x-png. This behavior is the same as in original ReportViewer/SSRS.