Redocly / redocly-vs-code

Redocly VS Code extension
36 stars 8 forks source link

Create bundled OpenAPI description from command palette #67

Open jeremyfiel opened 5 months ago

jeremyfiel commented 5 months ago

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.

tatomyr commented 5 months ago

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