Skip to content

Commit

Permalink
improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Dec 4, 2019
1 parent caa4235 commit f9c42ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit f9c42ea

Please sign in to comment.