diff --git a/lib/schemaUtils.js b/lib/schemaUtils.js index 21cf510..46274fb 100644 --- a/lib/schemaUtils.js +++ b/lib/schemaUtils.js @@ -78,7 +78,9 @@ const async = require('async'), // These headers are to be validated explicitly // As these are not defined under usual parameters object and need special handling IMPLICIT_HEADERS = [ - 'content-type' // 'content-type' is defined based on content/media-type of req/res body + 'content-type', // 'content-type' is defined based on content/media-type of req/res body, + 'accept', + 'authorization' ], /* eslint-disable arrow-body-style */