Skip to content

Commit 742268f

Browse files
committed
Request headers and cookies parameter parsing fix
1 parent 8f22b6a commit 742268f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_core/validation/request/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class RequestParameters(dict):
88

9-
valid_locations = ['path', 'query', 'headers', 'cookies']
9+
valid_locations = ['path', 'query', 'header', 'cookie']
1010

1111
def __getitem__(self, location):
1212
self.validate_location(location)

0 commit comments

Comments
 (0)