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)