sw-gen
v0.0.4
Published
generate entity by swagger
Downloads
9
Readme
sw-gen --url=http://your_ip:your_port/v2/api-docs
生成 search-bar 配置数据
sw-gen XX_QueryParam --type=sb -c
生成 st 表格配置数据
sw-gen XXX_Vo --type=sb -c
- --url
设置 swagger 地址,不指定,默认使用上次 url
- --path
接口 path ,输出列表页面的入参和返回列表数据
- -o
输出 cfg.ts 到当前命令行执行路径
- --type
| type | 描述 | |----|----| | st | 输出 ng-alain st 表格 columns 格式 支持默认及 type: 'badge' | | sb | search-bar 搜索栏数据格式|
- -c
复制到剪切板