swagger-vue-ts-cli

0.0.1 • Public • Published

Swagger to Vue Typescript Codegen CLI

生成客户端vue + typescript + flyio 的API代码

参考swagger-typescript-codegen-cli

安装

npm i swagger-vue-ts-cli -g

帮助

root$ swagger-vue-ts-cli -h
Usage: index [options]

生成客户端vue + typescript + flyio 的API代码

Options:
  -V, --version              output the version number
  -s, --source <string>      swagger规范的源地址,可以是url字符串或本地路径字符串
  -o, --output <string>      代码输出路径
  -c, --class-name <string>  类名称, 默认: Api
  -f, --file-name <string>   文件名称, 默认: api.ts
  -h, --help                 output usage information

Package Sidebar

Install

npm i swagger-vue-ts-cli

Weekly Downloads

0

Version

0.0.1

License

Apache-2.0

Unpacked Size

31.2 kB

Total Files

11

Last publish

Collaborators

  • i5920