@dvsa/openapi-schema-generator
v1.0.2
Published
Package for consuming a filepath which should contain TS interfaces, it will then generate an OpenAPI objects from these interfaces.
Downloads
595
Maintainers
Keywords
Readme
openapi-schema-generator
Package for consuming a filepath which should contain TS interfaces, it will then generate an OpenAPI objects from these interfaces.
Pre-requisites
- Node.js (Please see
.nvmrc
for specific version) npm
(If using n or nvm, this will be automatically managed)- Security
- Git secrets
- ScanRepo
- Unzip
repo-security-scanner_<version>_Darwin_<architercture>.tar.gz
and rename the executable inside the folder toscanrepo
- Add executable to path (usingecho $PATH
to find your path)
- Unzip
Getting started
Run the following command after cloning the project
npm install
(ornpm i
)
The code that will be published lives inside the ./src directory.
If wishing to add new top level directories to the output, then they must be included in the files
array inside package.json
as well as included in the clean:temp
command.