From 742268fe09befad44030168595a61b7704e3802e Mon Sep 17 00:00:00 2001 From: HoverHell Date: Tue, 12 Jun 2018 19:44:30 +0300 Subject: [PATCH] Request headers and cookies parameter parsing fix --- openapi_core/validation/request/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi_core/validation/request/models.py b/openapi_core/validation/request/models.py index e7d57cf..55d4887 100644 --- a/openapi_core/validation/request/models.py +++ b/openapi_core/validation/request/models.py @@ -6,7 +6,7 @@ from openapi_core.validation.models import BaseValidationResult class RequestParameters(dict): - valid_locations = ['path', 'query', 'headers', 'cookies'] + valid_locations = ['path', 'query', 'header', 'cookie'] def __getitem__(self, location): self.validate_location(location)