From f9c42ea21cd13e57cddc5f8052d7eae608a0ad9a Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Tue, 3 Dec 2019 21:35:27 -0500 Subject: [PATCH] improve example --- example/app.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/example/app.js b/example/app.js index 283ce54a..fd8f373a 100644 --- a/example/app.js +++ b/example/app.js @@ -25,10 +25,7 @@ app.use('/spec', express.static(apiSpec)); // 2. Install the OpenApiValidator on your express app new OpenApiValidator({ apiSpec, - validateResponses: true, - // securityHandlers: { - // ApiKeyAuth: (req, scopes, schema) => { ... }, - // }, + validateResponses: true, // default false }) .install(app) .then(() => {