Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>K4VA Contract ExplorerNew to Visual Studio Code? Get it now.
K4VA Contract Explorer

K4VA Contract Explorer

K4VA

|
2 installs
| (0) | Free
Explore OpenAPI contracts in VS Code. No account. No uploads.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

K4VA Contract Explorer

Community report (0.9.0 local candidate)

Community navigation opens the complete local R7 report, independent of operation filters: available/evaluated rules, reviewed, not-applicable and omitted operations, findings and declaration links. It is one local rule, not the full Community engine or a compliance certification. No login is needed to read local results. An explicit optional button opens https://www.k4va.com/analyze without contract data; that web service currently requires sign-in to run Community analysis. No automatic upload or external navigation occurs.

Visible operation navigation (0.8.0 local candidate)

Method distribution and a separate tag row show operation counts. Combine a method, a tag and search; Reset filters clears all three. Counts describe the whole contract (tag counts are unique memberships). Each matching operation appears once in the compact list. Narrow panels keep that list visible instead of an endpoint dropdown or modal; long lists scroll within a bounded area. Selection remains visible even outside the current filters. Expanding another operation closes the previous detail.

Context menus (0.7.1 local candidate)

Right-click a detected local contract in the editor or Explorer and choose Analyze with K4VA (Analizar con K4VA in Spanish). Detection parses the root OpenAPI 3.0/3.1 marker and basic info/document structure; it is not full validation. Swagger 2.0 is not supported.

Generic YAML/JSON filenames are detected after opening, and updated after edits (250 ms debounce) or saving. Unopened files named exactly openapi.yaml/yml/json, swagger.yaml/yml/json, or ending in .openapi have an Explorer fallback, checked when invoked; known-invalid files are hidden. The extension does not scan your workspace. Detection keeps at most 128 paths in memory, never on disk; evicted or externally changed closed files may need reopening. The original Open in K4VA palette command remains available for manual diagnostics and the bundled demo.

Local candidate 0.7.0 adds operation server selection and authorization context. Server precedence is operation, path, then root. Defaults and enums are shown; scalar path/query preview values are held only in panel memory. Copy path and Copy URL / template are separate actions. Relative URLs remain relative; no K4VA or fictional origin is supplied. Unresolved or unsupported complex serialization is labeled for review. Authorization describes the contract's AND/OR alternatives and scopes, not actual service access. It neither collects credentials nor executes requests. Marketplace 0.6.1 remains unchanged by this candidate.

Explore OpenAPI contracts in VS Code. No account. No uploads.

A free local contract explorer for VS Code Desktop. Read an OpenAPI document alongside its source, navigate operations and inspect what each operation accepts and returns.

Get started

  1. Open a local OpenAPI 3.0 or 3.1 contract in YAML, YML or JSON.
  2. Right-click the file in Explorer and choose Open in K4VA, or run Open in K4VA from the Command Palette with the file active.
  3. Filter by HTTP method, path, summary or operation ID. Select an operation to expand its details.
  4. Use Go to declaration to jump to its source. Save the contract to refresh the explorer.

Explore your contract

  • Operations grouped by tags, with method badges and collapsible details.
  • Quick view summarizes what to send and what to expect.
  • Parameters, Request and Responses expose declared fields, media types, response headers, schemas and examples.
  • Expand schema references and nested properties. Required labels remain explicit, including conditional requirements for optional request bodies.
  • Inspect declared examples with JSON highlighting, line numbers and a Copy action.
  • Keep selection and filters while saving. Narrow panels use a compact selector; wider panels show the operation list.
  • Light, dark and high-contrast theme styles, visible keyboard focus and reduced-motion support.

Examples and descriptions come from the contract. The extension does not generate missing examples or execute API requests.

Local checks and Community review

Local diagnostics check syntax, the supported OpenAPI version and same-document references. These are limited checks, not complete OpenAPI validation. References to other files or URLs are marked unresolved; they are not fetched automatically.

An automatic local Community subset runs on opening and saving. This version includes only R7: operations with input parameters or a request body should declare a 400 validation response. Findings show the rule's Medium severity and a source-navigation action.

Incomplete or unresolved declarations can be marked not evaluated. Operations without inputs are not applicable. No findings means no findings in this subset only; it is not a safety assessment, compliance certification or result from the complete K4VA rule engine.

The secondary Governance link opens a bundled synthetic demonstration. Its sample rule and contract are separate from findings on your file. No registration is needed.

Privacy and boundaries

  • Local files in VS Code Desktop only; no VS Code for the Web or virtual workspace support.
  • The extension does not upload contracts, call remote APIs, add its own telemetry or require an account.
  • No API execution, remote assets or automatic external-reference retrieval.
  • Contract contents and paths are not persisted or logged by the extension. Copy writes the selected example to your system clipboard only after an explicit click.

These statements describe the extension's implementation, not a guarantee about network activity from VS Code, other extensions or your operating system. Network-isolated desktop behavior has not been independently verified.

Limits

Documents are limited to 2 MB, with bounded reference traversal. Schema views expand lazily up to eight visual levels and 100 fields per object; cycles are labeled rather than expanded indefinitely. Long summaries offer explicit expansion.

Code previews display up to 100,000 characters or 1,000 lines and show a limit notice. Copy uses the complete serialized example up to 2 MB. Raw operation JSON remains an optional detail.

Installation and removal

Install K4VA Contract Explorer from the VS Code Extensions view when available, or use Extensions: Install from VSIX with a downloaded installer. To remove it, open its entry in Extensions and choose Uninstall.

License

Apache-2.0. Bundled YAML and Lucide assets retain their respective license notices.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft