Giter Site home page Giter Site logo

rap2_yapi_convert's Introduction

rap2_yapi_convert

目测是目前 搜到的 转换最完美的了

首先感谢 https://github.com/Gozap/rap2yapi

本脚本 是借上面的内容修改的,本着取之于民,用之于民的原则开源了

修改脚本中的rap2 cookie

修改脚本中的yapi cookie

找到rap2 中的 project_id

找到yapi 中的 project_id

修改代码 load_interface_multi(56, 79)
语法为 load_interface_multi(rap2_project_id, yapi_project_id) 具体脚本里有例子改改就好了,至于命令行的 懒得弄了

执行脚本

脚本特点: 1.响应数据 都可以导过来的了,包含 必填,注释, 2.请求头 放到了请求头里 3.请求参数 备注等 4.不需要token

rap2_yapi_convert's People

Contributors

lazeyliu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

txwsqk

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.