- Node.js 16 (current)
-
Clone the repository.
git clone https://github.com/dgarcia360/openapi-boilerplate.git -
Install the project dependencies.
npm install
The project will build, lint, and preview the OpenAPI document from the terminal, with the following commands:
The command bundles the spec as one .yaml file.
npm run build
The minified document is stored in _build/openapi.yaml.