A type definition generator from Open API 3.0 spec.
$ yarn add swag-jv
This command will generate validator functions for each schemas.
$ swag-jv generate swagger.yml --dist validators
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>
MIT