-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Response example summary is broken in v3 #882
Comments
Hi @IanVS, on first inspection the issue seems to stem from the |
When I was looking into it, I did a search for the places that |
Turns out I was using the
|
Actually, the more I look into it, seems we don't need the |
Describe the bug
I am upgrading from 2.0 beta to 3.0.1, and get several of these errors when I build:
I narrowed this down to the use of response example summaries, which worked previously.
Expected behavior
I assume I should be able to continue to provide response example summaries.
Current behavior
And the summary does not get rendered
Possible solution
Steps to reproduce
/users/login.get.responses."200".content.application/json.examples.response
(line 900 right now)summary: this breaks
Context
I have some response examples for certain parameters, e.g.:
These are now broken and do not appear in the built results. I tried simplifying this down to just straight text, and it also fails, though at first I thought it was related to the jsx.
I simplified things and logged out what
react-markdown
was getting aschildren
, and it was this:The text was updated successfully, but these errors were encountered: