vs-openapi-designer
vs-openapi-designer copied to clipboard
OpenApi Designer Extension for VS Code
vs-openapi-designer [Preview]
VS Code extension for previewing OpenApi Schema's within VS Code.
Find it in the VS Code MarketPlace.
Features
- Preview OpenApi specs in side panel in VS Code or in Browser
- Swagger 2.0 Spec previewing and validation
- YAML/JSON
- Single and Multi-File (both local and remote references)
- OpenApi 3.0 Spec previewing and validation
- YAML/JSON
- Single and Multi-File (both local and remote references)
Usage
- Open the root of your schema
ctrl-shft-p>OpenApi Designer: Preview- Other Available Commands
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$refsinto a single file
Requirements
- None
Extension Settings
This extension contributes the following settings:
openApiDesigner.defaultPort: default port for serving the Swagger UI, default9005openApiDesigner.previewInBrowser: whether to open preview in the Browser or in VS Code side panel, defaultfalse
Known Issues
See known issues here. If your issue is not already listed there please log a new one.
Release Notes
See CHANGELOG.
Contributing
Development
- cd dir,
npm installto install needed dependencies - F5 to launch extension and validate
npm install -g vsceFor packaging and publishingvsce package- To build pre-release pacakages- To side load in VS Code
ctrl-shft-p,Install From VSIX, locate output frompackage