mirror of
https://github.com/correl/openapi-core.git
synced 2024-12-28 19:19:23 +00:00
Request headers and cookies parameter parsing fix
This commit is contained in:
parent
8f22b6a30a
commit
742268fe09
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue