VS Code extension for previewing OpenApi Schema's within VS Code.
Find it in the VS Code MarketPlace.
ctrl-shft-p
> OpenApi Designer: Preview
OpenApi Designer: Preview
- opens preview using your default view preferenceOpenApi Designer: Preview In Side Panel
- open preview in side panelOpenApi Designer: Preview In Browser
- open preivew in browserOpenApi Designer: Compile Schema
- Compiles a unified schema and dereferences all $refs
into a single fileThis extension contributes the following settings:
openApiDesigner.defaultPort
: default port for serving the Swagger UI, default 9005
openApiDesigner.previewInBrowser
: whether to open preview in the Browser or in VS Code side panel, default false
See known issues here. If your issue is not already listed there please log a new one.
See CHANGELOG.
npm install
to install needed dependenciesnpm install -g vsce
For packaging and publishing
vsce package
- To build pre-release pacakagesctrl-shft-p
, Install From VSIX
, locate output from package