Display XML examples? #170
Unanswered
Abzdefgxyj
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I love the plugin thus far! Admittedly, I am an OpenAPI (and Docusaurus) newbie, but I had one thing I was struggling with and was hoping for some help: I can't seem to display application/xml examples no matter what I do. I have a yaml file that I'm working in and have the following:
The XML in the example doesn't get parsed and actually craps out the whole page; if I comment it out then the application/json example DOES render.
I've seen stack overflows where Swagger can render XML examples provided as either strings (as above) or as schema and am wondering if the plugin is just not to that point yet, or if I'm doing something wrong.
Beta Was this translation helpful? Give feedback.
All reactions