Shows swagger yaml/json rendered by Swagger-UI. This extension replace swagger code into preview html in GitHub.

Latest Version

Version
3.1.1
Update
March 9, 2024
Size
411KiB
Developer
Category
Users
10,000+
Rating
3.25 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

swagger-viewer Extension

# ⚠️Sorry! No longer supported.⚠️

Dear Community,

Due to time constraints, I'm archiving the swagger-viewer repository and ending support. Grateful for all contributions, please feel free to fork and continue the project. Thank you for your understanding.

---

Works completely offline.

## Demo

### Easy to convert

https://raw.githubusercontent.com/arx-8/swagger-viewer/main/README-Demo_1.gif

### Easy to expand / collapse

https://raw.githubusercontent.com/arx-8/swagger-viewer/main/README-Demo_2.gif

## Spec.

- Supported sites.
- GitHub
- Supported OpenAPI ver.
- 2.0
- 3.0
- Supported file ext.
- yaml
- yml
- json

## Usage

1. Install this app.
2. Open swagger page in GitHub.
- Try:
3. Click this app icon.
4. Have a good development!

## ChangeLog

https://github.com/arx-6/swagger-viewer/blob/main/CHANGELOG.md
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "__MSG_appName__", "short_name": "__MSG_appShortName__", "description": "__MSG_appDescription__", "version": "3.1.1", "manifest_version": 3, "default_locale": "en", "icons": { "16": "src/images/icon-16.png", "48": "src/images/icon-48.png", "128": "src/images/icon-128.png" }, "background": { "service_worker": "service-worker-loader.js", "type": "module" }, "action": { "default_title": "Convert!" }, "options_ui": { "page": "src/options.html" }, "content_scripts": [ { "js": [ "assets/content-script-loader.content_scripts.ts.3ce163c6.e4d5cbf6.js" ], "matches": [ "https://github.com/*" ], "css": [ "assets/content_scripts.ts.ec594941.css" ] } ], "web_accessible_resources": [ { "matches": [ "https://github.com/*" ], "resources": [ "assets/content_scripts.ts.3ce163c6.js" ], "use_dynamic_url": true } ]}
Read more

How to download and manually install swagger-viewer extension for Chrome

Looking for a way to install swagger-viewer extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install swagger-viewer extensions manually, this article outlines two simple methods to effortlessly install swagger-viewer extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download swagger-viewer extension and manually install through Drag &Drop

If you ever need to manually install a swagger-viewer extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the swagger-viewer Extension by clicking the "Download CRX" button on the website.

Look for the swagger-viewer extension you wish to install. Go to the website and download the swagger-viewer extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for swagger-viewer extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the swagger-viewer extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download swagger-viewer extension for Chrome and install in Developer Mode

This is another method to install swagger-viewer extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the swagger-viewer extension file

Select and download the swagger-viewer extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the swagger-viewer extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your swagger-viewer extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the swagger-viewer extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install swagger-viewer extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Swagger-UI Extension · Developer Tools 10,000+ 6 ★ 455KiB

icon

Github Swagger UI Plugin Extension · Developer Tools 10,000+ 2 ★ 395KiB

icon

Swagger Inspector Extension Extension · Developer Tools 10,000+ 7 ★ 41.9KiB

icon

Open API 3 Github Viewer Extension · Developer Tools 10,000+ 4 ★ 544KiB

icon

swagger ui viewer Extension · Developer Tools 10,000+ 2 ★ 8.38KiB

icon

Swagger Preview Extension · Developer Tools 10,000+ 2 ★ 283KiB

icon

JSON-YAML Toggle Extension · Developer Tools 10,000+ 2 ★ 87.48KiB

icon

Gitlab Swagger Utilities Extension · Developer Tools 10,000+ 6 ★ 331KiB

icon

Postman Interceptor Extension · Developer Tools 10,000+ 957 ★ 478KiB

icon

swagger-ui Extension · Productivity 10,000+ 0 ★ 1.1MiB

icon

PlantUML Viewer Extension · Developer Tools 10,000+ 104 ★ 36.92KiB

icon

Talend API Tester - Free Edition Extension · Developer Tools 10,000+ 4243 ★ 5.09MiB

icon

EASY LGTM Extension · Productivity 10,000+ 7 ★ 88.61KiB

icon

Markdown Viewer Extension · Productivity 10,000+ 352 ★ 2.36MiB

icon

Pegmatite Extension · Developer Tools 10,000+ 6 ★ 21.96KiB

icon

Octotree - GitHub code tree Extension · Developer Tools 10,000+ 1139 ★ 3.54MiB

icon

LTTM Extension · Developer Tools 10,000+ 10 ★ 2.73MiB

icon

Simple WebSocket Client Extension · Developer Tools 10,000+ 97 ★ 53.95KiB

icon

ModHeader - Modify HTTP headers Extension · Developer Tools 10,000+ 1061 ★ 676KiB

icon

PlantUML Visualizer Extension · Developer Tools 10,000+ 6 ★ 419KiB

icon

AWS Extend Switch Roles Extension · Developer Tools 10,000+ 82 ★ 82.44KiB

icon

Boomerang - SOAP & REST Client Extension · Developer Tools 10,000+ 1023 ★ 549KiB

icon

Wizdler Extension · Developer Tools 10,000+ 436 ★ 285KiB

icon

Markdown Preview Plus Extension · Productivity 10,000+ 234 ★ 2.24MiB

User reviews

icon

Akshay Bhore (ID: 00000026d87ad2ff) Voted 2 ★ - Updated 11/22/2022 It does not format the yaml file from local machine. Only works with github pages.

icon

Benson Chen (ID: 0000003977936b18) Voted 5 ★ - Updated 09/06/2022 Really amazing chrome extension!! Hope it will support github enterprise in the future as well!

icon

Andrew Stanton (ID: 0000009a1dde94bc) Voted 2 ★ - Updated 02/03/2022 A "swagger viewer" should not be restricted to only GitHub pages. Especially one that says it works offline; I should be able to load a swagger/openapi json file in the browser from a website or local disk and with this tool I would expect it to make a swagger UI from it. This does not do that.

icon

YM (ID: 0000002fa706cd9c) Voted 5 ★ - Updated 01/27/2021 Thanks for a great extension! Very useful ❤️

icon

Alexander Taylor Ruef (ID: 000000ae15dc9e8f) Voted 5 ★ - Updated 10/15/2019 Quick and easy