swag-jv
v0.0.17
Published
Generate JSON validators from Open API specification.
Downloads
6
Maintainers
Readme
swag-jv
A type definition generator from Open API 3.0 spec.
Requirements
Install
$ yarn add swag-jv
How to use
This command will generate validator functions for each schemas.
$ swag-jv generate swagger.yml --dist validators
CLI Options
Usage: swag-jv [options] [command]
Generate JSON validator from Open API spec
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
generate [options] <file>
convert [options] <file>
License
MIT