OpenAPI extension for Visual Studio Code
A Visual Studio Code extension with rich support for the OpenAPI (aka Swagger) language (v2 and v3 in JSON format), including features such as IntelliSense, linting, schema enforcement, code navigation, definition links, snippets, and more!
Open any JSON file that contains OpenAPI v2 or OpenAPI v3 definition in VS Code. The plugin should automatically detect that this is an OpenAPI file. When it does, the OpenAPI icon gets displayed in the left-hand panel.
Add elements from OpenAPI explorer
In the left-hand OpenAPI explorer pane, click the ... menu in the section where you want to add the element and pick the corresponding item from the menu.
As you start typing OpenAPI elements and their values, context-relevant options get displayed in the intellisense menu. Just type double-quote (") to get it going.
Create new OpenAPI files
Submit your issues, questions, and feature requests to the GitHub project Issues.