mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Added OpenAPI suggested headers to implicit headers list to be ignored during validation
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user