1.1.0 • Published 1 year ago

sl-codegen v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

基于springdoc-openapi的 JSON 接口解析;

脚本说明

Usage: cli <command> [options]

Options:
  -V, --version        output the version number
  -h, --help           display help for command

Commands:
  api [options]        generate the apis file by swagger!
  enum [options]       generate the enum file by swagger!
  structure [options]  生成项目结构说明文件

 Run cli-api-generator <command> --help for detailed usage of given command.
Usage: cli api [options]

generate the apis file by swagger!

Options:
  -c, --config <path>  配置文件路径 (default: "./autogen.config.js")
  -h, --help           display help for command
Usage: cli enum [options]

generate the enum file by swagger!

Options:
  -c, --config <path>  配置文件路径 (default: "./autogen.config.js")
  -h, --help           display help for command

autogen.config.js 配置说明