mirror of
https://github.com/correl/openapi-core.git
synced 2024-12-29 11:09:25 +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