1.1.8 • Published 7 years ago

bumblebee.js v1.1.8

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Bumblebee

Bumblebee => 大黄蜂:transform/parser,将 swagger 文档解析成 Hulk 配置文件的 node 脚本

Install

$ nrm use mi
$ npm install @mi/bumblebee --save-dev

Usage

$ ./node_modules/.bin/bumblebee --help

  Usage: bumblebee [options] <file ...>

  @mi/Bumblebee: A node script for Hulk.

  Options:
    -V, --version        output the version number
    -S, --source <file>  Your swagger config file
    -T, --target <file>  Your Hulk config: .huckrc.js
    -h, --help           output usage information

example: --target 可以省略,默认为项目根目录下的 .hulkrc.js ,这里需要和 @mi/hulk 一致

$ ./node_modules/.bin/bumblebee -S ./swagger.json
1.1.8

7 years ago