Api2Code CRX
0.0.0.7
hannq.github.io/chrome-extension-api-to-code

一款可以把 Api 文档 转换为 代码 的浏览器插件。

Latest Version

Version
0.0.0.7
Update
January 13, 2022
Size
3.66MiB
Developer
hannq.github.io/chrome-extension-api-to-code
Category
Users
68
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
Tabs
ActiveTab
Storage
WebNavigation
See more

Api2Code Extension

根据 接口文档 生成为 代码接口定义
支持定义跳转(快捷键同 vscode)

注意:必须进入具体的某一接口页面,插件才会生效
如:http://yapi.smart-xwork.cn/project/122838/interface/api/1679370

当前已支持的功能如下:
1. 支持 YApi 转 TypeScript
2. 支持 Swagger 转 TypeScript
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Api2Code", "description": "\u4e00\u6b3e\u53ef\u4ee5\u628a Api \u6587\u6863 \u8f6c\u6362\u4e3a \u4ee3\u7801 \u7684\u6d4f\u89c8\u5668\u63d2\u4ef6\u3002", "version": "0.0.0.7", "manifest_version": 3, "icons": { "16": "assets/images/icon16.png", "48": "assets/images/icon48.png", "128": "assets/images/icon128.png" }, "cross_origin_embedder_policy": { "value": "require-corp" }, "cross_origin_opener_policy": { "value": "same-origin-allow-popups" }, "permissions": [ "tabs", "activeTab", "storage", "webNavigation" ], "host_permissions": [ "*://*\\/*" ], "action": { "default_title": "Yapi to TypeScript", "default_icon": "assets/images/icon128.png", "default_popup": "index.html#/popup" }, "options_page": "index.html#/options", "background": { "service_worker": "background.js" }, "content_scripts": [ { "matches": [ "*://*/project/*/interface/api/*", "*://*/group/*", "*://*/*swagger-ui.html*" ], "js": [ "contentScript.js" ] }]}
Read more

Similar Extensions

icon

Omni - Bookmark, History, & Tab Manager Extension · Productivity 68 63 ★ 1.91MiB

icon

FeHelper(前端助手) Extension · Developer Tools 68 321 ★ 2.72MiB

icon

Console Importer Extension · Developer Tools 68 20 ★ 9.55KiB

icon

Apifox Browser Extension Extension · Developer Tools 68 9 ★ 28.39KiB

icon

YapiHelper Extension · Developer Tools 68 1 ★ 318KiB

icon

Axure RP Extension for Chrome Extension · Developer Tools 68 758 ★ 14.44KiB

icon

稀土掘金 Extension · Productivity 68 339 ★ 4.66MiB

icon

Ajax Modifier Extension · Developer Tools 68 48 ★ 2.08MiB

icon

TS Helper Extension · Developer Tools 68 1 ★ 41.89KiB

icon

Formily DevTools Extension · Developer Tools 68 4 ★ 2.43MiB

icon

yapi-ts Extension · Developer Tools 68 1 ★ 33.2KiB

icon

aigc-api Extension · Developer Tools 68 1 ★ 76.74KiB

icon

MobX Developer Tools Extension · Developer Tools 68 51 ★ 682KiB

icon

Relingo - Master Words | Bilingual Subtitles | Immersive Translate | Free Extension · Productivity 68 802 ★ 5.36MiB

icon

Vue.js devtools (beta) Extension · Developer Tools 68 149 ★ 2.54MiB

icon

YApi-X Extension · Developer Tools 68 13 ★ 13.74KiB

icon

PostWoman Http Test Extension · Developer Tools 68 46 ★ 834KiB

icon

V2EX Polish Extension · Productivity 68 95 ★ 193KiB

icon

XSwitch Extension · Developer Tools 68 18 ★ 1.6MiB

icon

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

icon

Octotree - GitHub code tree Extension · Developer Tools 68 1139 ★ 3.54MiB

icon

二维码(QR码)生成器(QR Code Generator) Extension · Productivity 68 124 ★ 94.16KiB

icon

free-swagger Extension · Developer Tools 68 4 ★ 521KiB

icon

File Icons for GitHub and GitLab Extension · Developer Tools 68 48 ★ 460KiB

User reviews

icon

Devin Qiu (ID: 000000504ef67a2c) Voted 5 ★ - Updated 08/04/2022 C/V 选手的最佳伴侣 NICE!

icon

Yu Tong (ID: 000000118fa01222) Voted 5 ★ - Updated 12/30/2021 墙裂推荐,希望能增加支持转 其他语言!

icon

博博群 (ID: 000000bb4b12834a) Voted 5 ★ - Updated 12/29/2021 Feeling Unknowingly Cool.

icon

泥尘雨 (ID: 0000005db4ba76a9) Voted 5 ★ - Updated 12/22/2021 建议尽快增加配置项功能

icon

dr2009 (ID: 00000010186474a9) Voted 5 ★ - Updated 12/22/2021 好用