redocly-vs-code icon indicating copy to clipboard operation
redocly-vs-code copied to clipboard

Create bundled OpenAPI description from command palette

Open jeremyfiel opened this issue 1 year ago • 1 comments

What should we improve?

The ability to generate a bundled OAS description from the command palette from the current window context.

How should we improve it?

provide the capability in the command palette >Redocly: generate bundled description

additional command options can be executed such as: config, remove-unused-components, output format, save-as location,

Why should we improve it?

I heavily use the linting capability in my editor and would like to quickly output a bundled version because we are using 1000's of external references in our descriptions. There are many times where I would like to view the bundled schemas but it's not possible without a bundled file.

I use the json crack extension for a graphical view of my json files and without the $ref resolution, the graphic only shows the node as a $ref, rather than the actual schema definition.

image

Describe alternatives you've considered

using the cli, but it requires too much typing! 😢

Additional context

Add any other information about your request here, like screenshots or links.

jeremyfiel avatar May 28 '24 23:05 jeremyfiel

Thanks for the suggestion! Is it really that much of typing? redocly bundle + Copy path on the file + paste into terminal 🙂.

tatomyr avatar May 29 '24 07:05 tatomyr