42Crunch / vscode-openapi

VisualStudio Code OpenAPI tools
GNU Affero General Public License v3.0
325 stars 41 forks source link

Open swagger with closed tags by default #180

Open thiago-figueredo opened 2 years ago

thiago-figueredo commented 2 years ago

When we have a lot of tags it's a hard to find which one we want. So if the tags are already closed by default, we open only the tags that are interesting for us in the moment.

ak1394 commented 2 years ago

Hi! Could you provide more details about the issue? Is there a problem with how the Tags panel works?

thiago-figueredo commented 2 years ago

it's not a problem, just to facilitate the search for specific route tags, in the case if the tags are closed by default, it's easier for the user to browse them and open only the ones he wants

ak1394 commented 2 years ago

Are you referring to SwaggerUI preview? API outline has Tags closed by default:

Screenshot 2022-08-12 at 11 48 34
thiago-figueredo commented 2 years ago

yes, it's the SwaggerUI preview

ak1394 commented 2 years ago

I plan to add a setting which would allow users to set SwaggerUI options (and there appears to be one to collapse all sections by default). I'll comment on this issue when it's done.

thiago-figueredo commented 2 years ago

okay, thank you

thiago-figueredo commented 2 years ago

Some progress ?

ak1394 commented 2 years ago

Not yet, we're working through the backlog of previously planned tasks and didn't get to this one yet. It's possible that we address it some time at the end of September or so.

sjoubert commented 1 month ago

I'm also interested in this, or rather a related SwaggerUI option that enables a filter field (filter: true)