yapi2apipost
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

A-Design Logo

yapi2apipost 是一个yapi JSON 到 apipost json 数据 的转换器。

🎉 特性

  • 支持格式
  • yapi JSON

安装

npm i yapi2apipost

基础使用

需引入:

import yapi2apipost from 'yapi2apipost';
const converter = new yapi2apipost();
const convertResult=await converter.convert(yapiJson);

检查结果:

convertResult.status === "error"

对于不成功的转换。检查 convertResult.message

convertResult.status === "success"

成功转换,结果在convertResult.data中

开源协议

yapi2apipost 遵循 MIT 协议

Readme

Keywords

none

Package Sidebar

Install

npm i yapi2apipost

Weekly Downloads

2

Version

0.0.7

License

MIT

Unpacked Size

23.7 kB

Total Files

4

Last publish

Collaborators

  • chengyang12138
  • proud_lion
  • lee-meng
  • wjzhangq
  • apipost-lab001
  • xbw19975