Swagger mock generator

Latest Version

Version
1.0.3
Update
July 5, 2023
Size
1.32MiB
Developer
Category
Users
11
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Storage
Tabs
See more

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "swagger-mock-generator", "version": "1.0.3", "description": "swagger mock generator", "options_page": "src/pages/options/index.html", "permissions": [ "storage", "tabs" ], "action": { "default_popup": "src/pages/popup/index.html", "default_icon": "icon-34.png" }, "icons": { "128": "icon-128.png" }, "content_scripts": [ { "matches": [ "http://*/*", "https://*/*", "" ], "js": [ "src/pages/content/index.js" ], "css": [ "assets/css/contentStyle16885410325.chunk.css" ] } ], "web_accessible_resources": [ { "resources": [ "assets/js/*.js", "assets/css/*.css", "icon-128.png", "icon-34.png", "lib/*.js", "window.js" ], "matches": [ "*://*/*" ] } ]}
Read more

Similar Extensions

icon

Tax ID generator Extension · Developer Tools 11 2 ★ 104KiB

icon

Pepper Extension · Productivity 11 1 ★ 15.41MiB

icon

RandomNumberGenerator Extension · Productivity 11 0 ★ 142KiB

icon

Quick QRCode Extension · Productivity 11 2 ★ 139KiB

icon

Swagger Preview Extension · Developer Tools 11 2 ★ 283KiB

icon

Password Generator Extension · Accessibility 11 2 ★ 14.92KiB

icon

EwoqRaterToolkit Extension · Productivity 11 2 ★ 86.99KiB

icon

Mock:Intercept and directly return data Extension · Developer Tools 11 6 ★ 487KiB

icon

UUID Generator NEO Extension · Developer Tools 11 10 ★ 311KiB

icon

Achievement Generator Extension · Fun 11 1 ★ 646KiB

icon

Muscle Password Extension · Productivity 11 9 ★ 669KiB

icon

Emoji Generator Extension · Social & Communication 11 9 ★ 126KiB

icon

swagger ui viewer Extension · Developer Tools 11 2 ★ 8.38KiB

icon

Opencrypt Wallet Generator Extension · Productivity 11 1 ★ 1.22MiB

icon

swagger-type-generator Extension · Developer Tools 11 7 ★ 482KiB

icon

Key Generator Extension · Developer Tools 11 0 ★ 77.67KiB

icon

Invoice generator Extension · Productivity 11 2 ★ 605KiB

icon

CodeCraft Extension · Developer Tools 11 0 ★ 1.83MiB

icon

Swagger MockMagic Extension · Productivity 11 0 ★ 144KiB

icon

Pota Ipsum Extension · Fun 11 0 ★ 12.57KiB

icon

Huntblaze Extension · Productivity 11 2 ★ 560KiB

icon

Random Content generator Extension · Productivity 11 0 ★ 462KiB

icon

Hailuobot: Hailuoai Minimax Automation Bulk Video generator Extension · Productivity 11 0 ★ 569KiB

icon

开发助手 Extension · Productivity 11 2 ★ 250KiB