Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gimapei/swage-js

 
 

Repository files navigation

Swage

Deprecated: move to cxsu/swage

CLI tool for converting Swagger API specification JSON to Excel

Getting started

cli

excel

Install

npm install --global swage
yarn global add swage

Command

swage gen --help

# generate an excel file in the current directory
swage gen <json-path>

Example

swage gen example/example.json
OUTPUT >>> ./swagger.xlsx

flag --output, -o

swage gen example/example.json --output example
OUTPUT >>> ./example/swagger.xlsx

Development

Build

npm install
npm run build

Run

node dist/main.js gen example/example.json --output .

Local Install

npm run local
# /usr/local/bin/swage -> /usr/local/lib/node_modules/swage/dist/main.js
# + [email protected]
# added 1 package from 1 contributor in 0.667s

Clean

npm run clean

Reference

About

Swage in Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.6%
  • Shell 4.6%
  • PowerShell 2.8%