-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Start with response list expanded #165
Comments
@agallou thanks for using ReDoc and even reading its code :) I should explain why I have hidden all the responses under the zippy. This was done due to performance limitations. For specs with huge number of endpoints response schemas generation took lot of time so I hidden it under the zippy and made lazy-rendered. I'm OK with adding such option to ReDoc though. I vote for having ReDoc attribute against I was going to provide you with a hints of how to implement this but while checking code implemented it itself: commit. It appeared to be an easy change :) Closing this issue. |
👍 that's awesome. thanks for the feature. |
new version |
First, thanks for Redoc, your project is very usefull to us.
When I give our client the link to our API doc, I always say something like "You must click on '200 Products Response' to display the response content". So it could be usefull to have those expanded by default.
I'm not used to developp with angular, but if it's a feature that you are ready to have on the projet, i'll try to make a PR.
So, how could such a functionnality be implemented functionnaly ?
after that, did you have any hints on to implement that technically ? (espacilly with the lazy json-schema) (I will probably be something around here : https://github.com/Rebilly/ReDoc/blob/5bd0ac2d11d01c91fb75c8b98418b35c29e65f22/lib/components/ResponsesList/responses-list.html#L23)
The text was updated successfully, but these errors were encountered: