File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
openapi_core/contrib/requests Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,6 @@ def create(cls, request):
3838 # extract the URL without query parameters
3939 url = o ._replace (query = None ).geturl ()
4040
41- # gets deduced by path finder against spec
42- path = {}
43-
4441 # Order matters because all python requests issued from a session
4542 # include Accept */* which does not necessarily match the content type
4643 mimetype = request .headers .get ('Content-Type' ) or \
@@ -54,11 +51,11 @@ def create(cls, request):
5451 # TODO: figure out if request._body_position is relevant
5552 body = request .body
5653
54+ # Path gets deduced by path finder against spec
5755 parameters = RequestParameters (
5856 query = ImmutableMultiDict (params ),
5957 header = header ,
6058 cookie = cookie ,
61- path = path ,
6259 )
6360 return OpenAPIRequest (
6461 full_url_pattern = url ,
You can’t perform that action at this time.
0 commit comments