通过yapi生成js和ts代码

Latest Version

Version
1.0.0
Update
November 10, 2021
Size
33.2KiB
Developer
Category
Users
122
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
See more

yapi-ts Extension

自动生成前端的请求层代码, 有类型提示无需重复手写。
使用方式:
1. 安装yapi-ts chrome插件
2. npx yapi-ts --s src/api
3. 打开yapi服务找到需要的接口, 点击生成代码
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "yapi-ts", "version": "1.0.0", "description": "\u901a\u8fc7yapi\u751f\u6210js\u548cts\u4ee3\u7801",\t"icons": {\t\t"16": "yapi.png",\t\t"48": "yapi.png",\t\t"128": "yapi.png"\t}, "action": \t{\t\t"default_icon": "yapi.png",\t\t"default_popup": "popup/popup.html"\t},\t"content_scripts": [\t\t{\t\t\t"matches": ["http://*/*", "https://*/*"],\t\t\t"js": ["./content_scripts/content.js"]\t\t}\t],\t"permissions":\t[\t], "host_permissions": [ "http://localhost/*" ]}
Read more

Similar Extensions

icon

YapiHelper Extension · Developer Tools 122 1 ★ 318KiB

icon

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

icon

Console Importer Extension · Developer Tools 122 20 ★ 9.55KiB

icon

TS Helper Extension · Developer Tools 122 1 ★ 41.89KiB

icon

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

icon

Ajax Modifier Extension · Developer Tools 122 48 ★ 2.08MiB

icon

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

icon

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

icon

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

icon

XSwitch Extension · Developer Tools 122 18 ★ 1.6MiB

icon

Api2Code Extension · Developer Tools 122 5 ★ 3.66MiB

icon

Formily DevTools Extension · Developer Tools 122 4 ★ 2.43MiB

icon

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

icon

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

icon

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

icon

YAPI MOCK Plugin Extension · Developer Tools 122 0 ★ 148KiB

icon

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

icon

草料二维码-快速生码和解码工具 Extension · Accessibility 122 73 ★ 289KiB

icon

JSON-handle Extension · Developer Tools 122 450 ★ 193KiB

icon

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

icon

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

icon

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

icon

Element Theme Roller Extension · Developer Tools 122 12 ★ 1.98MiB

icon

Whistle plugin By Nick Extension · Developer Tools 122 13 ★ 122KiB

User reviews

icon

苏杰 (ID: 000000bbcf996605) Voted 5 ★ - Updated 09/16/2022 按配置无法使用,不知道哪个步骤出问题?