Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Simple OpenAPI ViewerNew to Visual Studio Code? Get it now.
Simple OpenAPI Viewer

Simple OpenAPI Viewer

Rahul Dhole

| (1) | Free
Preview OpenAPI YAML and JSON files in a lightweight VS Code webview.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Simple OpenAPI Viewer

Visual Studio Marketplace Open VSX Registry License: MIT

Simple OpenAPI Viewer Hero

A lightweight, powerful, and theme-aware VS Code extension to preview OpenAPI YAML and JSON files using a high-fidelity Swagger UI. It works entirely offline with local assets, ensuring your API definitions never leave your environment.

✨ Features

  • High-Fidelity Rendering: Full Swagger UI integration for a professional experience.
  • Theme Aware: Seamlessly adjusts to your VS Code dark and light themes.
  • Offline Ready: No CDN dependencies; uses local assets for maximum privacy and speed.
  • Flexible Access:
    • Command Palette (Cmd+Alt+O / Ctrl+Alt+O)
    • Editor title button (quick-access icon)
    • Explorer context menu (right-click any YAML/JSON)
    • Editor context menu
  • Auto-Detection: Smartly recognizes OpenAPI/Swagger files to stay out of your way when not needed.

🚀 Getting Started

  1. Open any .yaml, .yml, or .json OpenAPI/Swagger file.
  2. Click the OpenAPI Viewer icon in the editor title bar (top-right).
  3. Alternatively, use the command palette (Cmd+Shift+P) and search for Simple OpenAPI Viewer: Open Current File.

🛠️ Requirements

  • VS Code version 1.74.0 or higher.
  • A valid OpenAPI (2.0, 3.0, 3.1) or Swagger definition file.

📦 Installation

You can install the extension from your preferred marketplace:

  • Visual Studio Marketplace
  • Open VSX Registry

Alternatively, open VS Code and search for Simple OpenAPI Viewer.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request or open an issue on GitHub.


Made with ❤️ by Rahul Dhole

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft