Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

yapi-plugin-response-to-ts

xiaoshuji3MIT2.0.0

YAPI响应转 TS 接口申明.

readme

yapi-plugin-response-to-ts

YAPI响应转 TS 接口申明.

安装

  1. yarn add https://github.com/kyuuseiryuu/yapi-plugin-response-to-ts
  2. ykit pack -m
  3. yarn start

配置

config.json

{
  "plugins": [{
    "name": "response-to-ts"
  }]
}

使用

单接口导出


批量导出