Skip to content
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

Allow clicking on model name/title to expand/collapse #2926

Closed
DavidBiesack opened this issue Apr 18, 2017 · 0 comments
Closed

Allow clicking on model name/title to expand/collapse #2926

DavidBiesack opened this issue Apr 18, 2017 · 0 comments

Comments

@DavidBiesack
Copy link

In the new Swagger-UI, one can click on an operation's verb or summary text, or a tag/category name/summary to expand/collapse the box/section.

However for models, one can only click on the small > (or V ) icon to expand/collapse the model to show its fields or example.

Please let me click on the title string and the "{...}" text as well -- it's much easier to hit, and also a more consistent user experience.

The popup (i.e. "#/definitions/Order") should also show up on all clickable elements (not just the title)

shockey added a commit that referenced this issue Jul 15, 2017
…-to-toggle

Fixes #2926 - Click name of model to collapse/expand
@lock lock bot locked and limited conversation to collaborators Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants