An exegesis plugin to generate CRUD operations based on JSON schema definition.
npm install exegesis-plugin-jsonschema
Add this to your Exegesis options:
const exegesisJSONSchemaPlugin = require( 'exegesis-plugin-jsonschema' );
var jsonShemaPlugin = exegesisJSONSchemaPlugin({});
await jsonSchemaPlugin.addSchema( path.resolve( __dirname, './model/root.json' ) );
options = {
plugins: [
jsonSchemaPlugin
]
};