I am building an API Documentation with Swagger and I am writing directly in Notepad++ in the JSON it all woks fine but now I have a POST request that has a response example of type xml. This is the code that I have written
"/stareMesaj":
"post":{
"summary":"Response for stareMesaj",
"description":"Blablabla",
"produces":
"-application/xml",
"responses":{
"200":
"description":"ok",
"examples":
"application/xml":{"<book>aaa</book>"}}}
Can you please give me advice on what is wrong because when I convert it to html with redoc it doesnt show any response example on the right side of the page.
Thanks in advance