Coder Social home page Coder Social logo

raptojson's Introduction

rap接口平台数据迁移到Yapi的接口JSON转接工具

依赖:Node >= 0.6

使用说明

1、克隆项目
    git clone https://github.com/FedWithMori/rapToJson.git
2、安装依赖
    npm i
3、从rap将你的接口导出,步骤如下:

1)进入rap项目
2)点击更多功能下拉菜单
3)点击导出Word(不是导出备份)
4)自动下载了一份html文件

4、将html文件统一归纳到api-html文件下,支持创建目录区分项目
5、执行下列命令
    node app.js
6、所有导出的文件会以rap中项目大模块的名称进行命名,并生成到api-json目录下
7、登录yapi,选择对应的项目——>数据管理——>数据导入——>json格式——>拖入上面生成的文件即可导入
8、完成

raptojson's People

Contributors

fedwithmori avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

raptojson's Issues

属性没对上

使用 rap 0.14.1 beta 版本,导出html文件,进行转换,
得到的path和method错误
"title":"14.1.1 下载小程序码",
"path":"",
"method":"cmshop/tools/wxacodeunlimit/loaded",
"req_body_type":"json",

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.