This repository is no longer maintained, and has been replaced by https://github.com/mdsol/openapi3-generator.
- NodeJS v7.6+
- On Mac, use Brew -
brew install node
- Otherwise, install from the NodeJS downloads page
- On Mac, use Brew -
Clone the repository:
git clone https://github.com/ssteeg-mdsol/openapi3-generator.git
And execute the script giving the path to the OpenAPI file you want to render:
cd openapi3-generator
npm install
./run.sh <path_to_your_openapi>.yaml
A release number can also be passed as a parameter, which will be displayed on the title page.
./run.sh <path_to_your_openapi>.yaml <release_number>
From time to time, small improvements to the script may be added. To get the latest changes, run the following command in the openapi3-generator
directory:
git pull origin master