1.4.2 • Published 5 years ago
openapi-builder v1.4.2
openapi-builder
builder for openapi files
Editing large or very large yaml files is for the real masters of the api-verse.
If you prefer to have some smaller files in folders which shall construct the later, this project might be for you.
It allows to create the component references in individual files, together with mixins.
Installation
npm i -g openapi-builderUsage
create a new environment
mkdir examples mixins paths parameters responseBodies responses schemas securitySchemes
touch main.yaml
openapi-builder initThis creates a .openapi-builder.json configuration file in this folder.
Please take a look at the example folder. Watch out for $schemas$, $mixins or $mixin tags.
Will try to complete the docs later...
build the final openapi yaml file with
openapi-builderLicense
Source code is MIT licensed
The example uses the well known swagger petstore which is licensed under Apache 2.0