@rjgf/swagger2ts

1.3.1 • Public • Published

说明

通过 swagger.json 文件生成一个 typescript 的声明文件

通过以下脚本运行

# 将结果输出到终端
swagger2ts https://api.example.com/swagger.json
# 将结果写入文件
swagger2ts https://api.example.com/swagger.json > swagger.ts

Readme

Keywords

none

Package Sidebar

Install

npm i @rjgf/swagger2ts

Weekly Downloads

5

Version

1.3.1

License

Apache-2.0

Unpacked Size

36.2 kB

Total Files

13

Last publish

Collaborators

  • wangdaozhishi
  • felaozhiyong
  • axetroy
  • xpuliapushi
  • cplasf
  • tyfcxl
  • crapulence