docusaurus-openapi icon indicating copy to clipboard operation
docusaurus-openapi copied to clipboard

Possible issue: Image response is not displayed correctly in execute example

Open sboudouk opened this issue 3 years ago • 2 comments

Hi.

Thanks for this package. It's very useful.

However, testing my openapi.json:

  • When the return of the api call is json/text, everything works fine.
  • When the return of the api call is an image (png,jpg/jpeg...), the image is not displayed
Screenshot 2022-11-29 at 20 41 21

Am I doing something wrong ?

Thanks for your help.

sboudouk avatar Nov 29 '22 19:11 sboudouk

We don’t currently have support for rendering various data other than plain text

bourdakos1 avatar Nov 29 '22 19:11 bourdakos1

Thanks for the fast answer. Anything planned to support this, or at least, disable the Execute button ?

sboudouk avatar Nov 29 '22 20:11 sboudouk