SpecLynx OpenAPI ToolkitWhy Choose SpecLynx OpenAPI Toolkit?SpecLynx OpenAPI Toolkit is engineered for clarity, control, and confidence, enabling you to focus on designing exceptional APIs. OpenAPI AuthoringGet full YAML/JSON autocompletion, inline documentation hints, validation, linting, and live preview as you type — so you catch errors before they cost you time. OpenAPI Toolkit surfaces context-aware suggestions for paths, parameters, responses, components, ...; flags missing or mismatched fields instantly; and renders a side-by-side spec-to-UI preview that updates with every keystroke. Say goodbye to manual spec checks and hello to a fluid authoring experience that keeps your API specs accurate and up-to-date. One-Click Tooling
All these commands — and more — are just a keystroke away in VS Code, so you can focus on designing great APIs instead of wrestling with tooling. Built by VeteransSpecLynx OpenAPI Toolkit is crafted by industry veterans, Vladimír Gorej and Francesco Tumanischvili, who bring over 15 years of dedicated experience maintaining and evolving Swagger/OpenAPI tools. Their unparalleled expertise ensures you receive a solution with battle-tested reliability and best practices meticulously baked into every feature. What is it?OpenAPI Toolkit provides advanced editing, processing, rendering, and execution capabilities for Swagger/OpenAPI files (2.0, 3.0, 3.1). These include an editor experience — offering validation/linting, completion, documentation, syntax highlighting, reference navigation, and more — along with a preview panel (based on Swagger UI) for rendering the OpenAPI document and allowing interaction and execution. Several capabilities are unique in the VS Code OpenAPI ecosystem, such as Spectral support in the web, custom semantic linting, in-context documentation (including in completion items), full JSON/YAML parity, and rich reference handling. We are actively expanding the feature set and fixing bugs; this documentation will be updated accordingly. CapabilitiesEditorForewordJSON and YAML — OpenAPI Toolkit provides the same level of support for OpenAPI specs written in JSON or YAML format. It also aims to provide editor capabilities even for not-well-formed documents (for example, offering completion and syntax highlighting where possible). OpenAPI Toolkit supports following OpenAPI versions with a consistent feature set: OpenAPI 2.0 (Swagger)OpenAPI 3.0.xOpenAPI 3.1.xWeb support — OpenAPI Toolkit is designed to run both on Desktop and in Web environments such as vscode.dev, github.dev, and GitHub Codespaces. It is one of the few extensions that deliver advanced OpenAPI editing and validation/linting in the web environment. In-context OpenAPI Documentation (hover)When you hover over a keyword (node key) in the document, the extension shows full, context-aware documentation in a hover panel that corresponds to the selected construct and matches the official specification. The same documentation is also shown in the details pane of completion items. See the “Completion / Suggestions” section below. Completion / SuggestionsOpenAPI Toolkit provides an enriched completion experience. Under the hood, completion is driven by a semantic understanding of the node where completion is triggered, making suggestions far more precise and useful than standard JSON-Schema-based completion. Completion documentationEach completion item includes full documentation (the same content shown in hover).
Tip: If the documentation panel doesn’t appear to the right of the completion label, click the References completionWhen completion is triggered within the value of a Context-aware completion (e.g.,
|
callback |
components |
contact |
content |
definitions |
discriminator |
encoding |
example |
external-documentation |
header |
headers |
info |
items |
license |
link |
media-type |
oauth-flow |
oauth-flows |
openapi |
openapi3_0 |
openapi3_1 |
operation |
parameter |
parameters-definitions |
path-item |
paths |
path-template |
reference |
request-body |
response |
responses |
responses-definitions |
schema |
scopes |
security-definitions |
security-requirement |
security-scheme |
server |
server-variable |
swagger |
tag |
xml |
Formatting
SpecLynx OpenAPI Toolkit is capable of formatting your OpenAPI Documents, whether they are written
in JSON or YAML. Formatting preferences, like tabSize or whether to use tabs or spaces (insertSpaces)
are read directly from your VSCode settings.
JSON <-> YAML Conversion
Right-click inside an OpenAPI document or right-click the file in the Explorer, then choose OpenAPI Toolkit → Convert to YAML / Convert to JSON to convert the document from one format to the other and save locally. The default output name is {filename}.{target-extension}
Preview
The Preview panel renders the current OpenAPI document and lets you interact with it.
Preview panel can be opened by opening the Command Palette (CTRL+Shift+P) and running the OpenAPI Toolkit: Show API Document preview command.
The extension supports multiple OpenAPI preview renderers. You can switch between them by setting speclynx.openapi.preview.renderer in your VS Code settings:
| Renderer | Description | Default |
|---|---|---|
| scalar | Scalar API Reference | ✅ |
| swagger-ui | Swagger UI |
In VS Code, go to File → Preferences → Settings, then search for @ext:SpecLynx.vscode-openapi-toolkit.
This will display all settings provided by the extension.
Scalar API Reference
SwaggerUI
Preview interactions include:
- Live rendering — Quickly verify how changes look without leaving the editor
- Server selection & auth — Choose servers and authorize requests where applicable
- Try it out / Test request — Execute operations directly from the preview to validate requests/responses during development
This helps you validate the specification from both a structural and a consumer point of view.
