@viesure/openapi-ghost-writer
v1.2.0
Published
openapi-ghost-writer helps to maintain a single source of truth while generating a clean openapi spec for public use
Downloads
545
Readme
openapi-ghost-writer
The openapi-ghost-writer helps to maintain a single source of truth while generating a clean openapi specification for public use.
Usage
openapi-ghost-writer --openapiSpec path/to/base/openapi.yaml \
--openapiReplacents path/to/replacement.yaml \
[--openapiReplacements path/to/second-replacement.yaml] \ # Optional: Additional replacement files
[--filterFlags x-flag ] # Optional: Flags to filter by, default: x-internal
[--filterFlags x-second-flag ] # Optional: Additional flags
--target path/for/the/result/openapi.yaml
Libraries
Following libraries are used: