将 Swagger-UI 打包成 Chrome 扩展,支持主题切换

Latest Version

Version
1.4
Update
February 9, 2022
Size
455KiB
Developer
Category
Users
9,000+
Rating
4 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Swagger-UI Extension

Wrapped the latest swagger-ui and supports theme switching (right extension click icon, click option to switch)

包装了最新的 swagger-ui,并支持主题切换(右键扩展图标,点击选项切换)

bug report https://github.com/jiayx/swagger-ui-chrome
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Swagger-UI", "icons": { "128": "swagger/favicon-32x32.png" }, "description": "\u5c06 Swagger-UI \u6253\u5305\u6210 Chrome \u6269\u5c55\uff0c\u652f\u6301\u4e3b\u9898\u5207\u6362", "version": "1.4", "action": { "default_icon": { "16": "swagger/favicon-16x16.png", "32": "swagger/favicon-32x32.png" }, "default_title": "Swagger-UI" }, "background": { "service_worker": "src/background.js" }, "options_page": "src/options.html", "permissions": [ "storage" ], "host_permissions": [ "*://*:*/" ]}
Read more

How to download and manually install Swagger-UI extension for Chrome

Looking for a way to install Swagger-UI 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-UI extensions manually, this article outlines two simple methods to effortlessly install Swagger-UI extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Swagger-UI extension and manually install through Drag &Drop

If you ever need to manually install a Swagger-UI 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-UI Extension by clicking the "Download CRX" button on the website.

Look for the Swagger-UI extension you wish to install. Go to the website and download the Swagger-UI extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Swagger-UI 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-UI 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-UI extension for Chrome and install in Developer Mode

This is another method to install Swagger-UI 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-UI extension file

Select and download the Swagger-UI 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-UI 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-UI 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-UI 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-UI extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

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

icon

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

icon

swagger-viewer Extension · Developer Tools 9,000+ 8 ★ 411KiB

icon

X情报查询助手 Extension · Productivity 9,000+ 5 ★ 463KiB

icon

HackBar Extension · Developer Tools 9,000+ 52 ★ 1.56MiB

icon

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

icon

Swagger Schema Beautifier Extension · Productivity 9,000+ 0 ★ 29.65KiB

icon

FindSomething Extension · Developer Tools 9,000+ 34 ★ 512KiB

icon

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

icon

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

icon

XSS辅助工具 Extension · Developer Tools 9,000+ 0 ★ 6.18KiB

icon

FOFA Pro View Extension · Productivity 9,000+ 11 ★ 887KiB

icon

Swagger Ui Themes Extension · Developer Tools 9,000+ 3 ★ 101KiB

icon

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

icon

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

icon

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

icon

ZoomEye Tools Extension · Developer Tools 9,000+ 6 ★ 583KiB

icon

Hack-Tools Extension · Developer Tools 9,000+ 27 ★ 1.61MiB

icon

FeHelper(前端助手) Extension · Developer Tools 9,000+ 321 ★ 2.72MiB

icon

Elasticvue Extension · Developer Tools 9,000+ 73 ★ 3.43MiB

icon

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

icon

Trufflehog Extension · Developer Tools 9,000+ 8 ★ 34.61KiB

icon

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

icon

free-swagger Extension · Developer Tools 9,000+ 4 ★ 521KiB

User reviews

icon

Tomas Kamenicky (ID: 00000034a58f89e3) Voted 5 ★ - Updated 03/11/2023 Works.

icon

Trend - Neil Chen (ID: 000000dae811ea85) Voted 4 ★ - Updated 11/17/2022 It could be better if the default URL is the current URL when clicking on the extension icon.

icon

郭斌强 (ID: 000000e415227078) Voted 4 ★ - Updated 02/25/2022 希望可以配置base url