Swagger mock generator
swagger-mock-generator Extension
Swagger Mock Generator 是一个 Chrome 浏览器扩展,它可以读取 Swagger 接口文档,根据接口的参数定义自动生成 Mock 数据。通过使用这个扩展,您只需要提供一个标准的 Swagger 接口文档,就可以一键生成丰富的 Mock 数据来支持开发、测试及演示。
特性:
- 解析 Swagger JSON 或 YAML 格式的接口文档
- 根据接口参数类型(字符串、数值、布尔、对象、数组等)生成随机 Mock 数据
- 支持 Swagger 基本类型(string、number、boolean 等)及复杂类型(object、array)
- 生成的 Mock 数据可以写入到接口响应体、响应头或请求参数中
- 支持全局及个性化的 Mock 配置,包括支持自定义正则表达式等
- 简单易用,无需编写任何代码即可生成 Mock 数据
github:https://github.com/RiceNine/swagger-mock-webextension
Source Manifest.json
How to download and manually install swagger-mock-generator extension for Chrome
Looking for a way to install swagger-mock-generator 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-mock-generator extensions manually, this article outlines two simple methods to effortlessly install swagger-mock-generator extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download swagger-mock-generator extension and manually install through Drag &Drop
If you ever need to manually install a swagger-mock-generator 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-mock-generator Extension by clicking the "Download CRX" button on the website.
Look for the swagger-mock-generator extension you wish to install. Go to the website and download the swagger-mock-generator extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for swagger-mock-generator 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-mock-generator 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-mock-generator extension for Chrome and install in Developer Mode
This is another method to install swagger-mock-generator 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-mock-generator extension file
Select and download the swagger-mock-generator 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-mock-generator 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-mock-generator 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-mock-generator 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-mock-generator extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
Tax ID generator 11 2 ★ 104KiB
Pepper 11 1 ★ 15.41MiB
RandomNumberGenerator 11 0 ★ 142KiB
Quick QRCode 11 2 ★ 139KiB
Swagger Preview 11 2 ★ 283KiB
Password Generator 11 2 ★ 14.92KiB
EwoqRaterToolkit 11 2 ★ 86.99KiB
Mock:Intercept and directly return data 11 6 ★ 487KiB
UUID Generator NEO 11 10 ★ 311KiB
Achievement Generator 11 1 ★ 646KiB
Muscle Password 11 9 ★ 669KiB
Emoji Generator 11 9 ★ 126KiB
swagger ui viewer 11 2 ★ 8.38KiB
Opencrypt Wallet Generator 11 1 ★ 1.22MiB
swagger-type-generator 11 7 ★ 482KiB
Key Generator 11 0 ★ 77.67KiB
Invoice generator 11 2 ★ 605KiB
CodeCraft 11 0 ★ 1.83MiB
Swagger MockMagic 11 0 ★ 144KiB
Pota Ipsum 11 0 ★ 12.57KiB
Huntblaze 11 2 ★ 560KiB
Random Content generator 11 0 ★ 462KiB
Hailuobot: Hailuoai Minimax Automation Bulk Video generator 11 0 ★ 569KiB
开发助手 11 2 ★ 250KiB