I'm trying to include an image in the description
field of the info
section of my swagger, which is displayed with Swagger-UI. So far I've tried GFM:
...
"info": {
"description": "![alt text][/static/img/image.png]"
}
...
and plain old HTML:
...
"info": {
"description": "<img alt=\"alt text\" src=\"/static/img/image.png\">"
}
...
But both of these just render the string as given and don't display the image.
Is there a way to do this?