open-api-mocker
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -9,2 +9,6 @@ # Changelog | ||
## [1.2.1] - 2019-12-30 | ||
### Fixed | ||
- Fix in header validation for case insensitive | ||
## [1.2.0] - 2019-12-30 | ||
@@ -11,0 +15,0 @@ ### Added |
@@ -97,3 +97,6 @@ 'use strict'; | ||
case 'header': | ||
return this._validateParameter(parameter, headers); | ||
return this._validateParameter({ | ||
...parameter, | ||
name: parameter.name.toLowerCase() | ||
}, headers); | ||
@@ -100,0 +103,0 @@ case 'query': |
{ | ||
"name": "open-api-mocker", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A mock server based in Open API Specification", | ||
@@ -5,0 +5,0 @@ "main": "lib/open-api-mocker.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44648
1369