intellij-swagger icon indicating copy to clipboard operation
intellij-swagger copied to clipboard

Ability to open swagger-ui with sections collapsed initially

Open adamlehenbauer opened this issue 5 years ago • 1 comments

Hi, it would be helpful if there were a setting that lets me open the swagger-ui with the plugin, but with all sections (as defined by swagger tags) collapsed. This helps when working on changes towards the bottom of very large swagger files.

If there were a way to expand only the endpoint where the editor cursor was, or scroll there via an anchor link, that'd be even better.

I would consider working on a fix for this if someone points me in the right direction in the code and how this could be accomplished.

adamlehenbauer avatar Apr 17 '19 18:04 adamlehenbauer

Something like this would be useful indeed. If the sections can be collapsed using some URL parameters, this should be doable!

semonte avatar May 02 '19 10:05 semonte