Utility to convert Swagger JSON/yaml to Markdown files.
Supports swagger 2.0 format only
See examples folder
npm install swagger2md
npm install -g swagger2md
swagger2md [-h] [-v] -i [-o]
Options:
-h, --help Show this help message and exit.
-v, --version Show program's version number and exit.
-i , --input Path to the swagger yaml file
-o , --output Path to the resulting md file
or
npm i --save-dev swagger2md
node_modules/swagger2md/bin/index.js -i /path/to/swagger-api-specification.json -o api.md;