Open LeoMouyna opened 3 years ago
Yea I think that makes sense, Iād be happy to merge a PR if you can get something working
I'll give a try but I might need help on css part for a wonderful display š
Here's an example of what I think would be helpful as part of the status code/response body table (using RapiDoc).
I was looking for the same. A json response example on each status code would be a great feature.
Do you have any plans adding this :) ?
For now the only way to know how returned data looks like consist in waiting for a query.
Could it be possible to add an expand button at the end of a status row that would show a response example ? We can already see what a request body looks like in
docusaurus-plugin-openapi/src/theme/ApiDemoPanel/Body/index.js
, is it possible to also display how response body looks like ondocusaurus-plugin-openapi/src/theme/ApiStatusCodesTable/index.js
?If you need more details feel free to ask.