diff --git a/example/app.js b/example/app.js index 0e0e42de..e8ac8e17 100644 --- a/example/app.js +++ b/example/app.js @@ -30,6 +30,12 @@ new OpenApiValidator({ // ApiKeyAuth: (req, scopes, schema) => true, // }, }) + // Use Callback + // .install(app, (err, app) => { + // if (err) { + // return console.error(err); + // } + // Use Promise .install(app) .then(app => { let id = 3;