File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 33
44from six .moves .urllib .parse import urljoin
55
6- from openapi_core .shortcuts import validate_parameters , validate_body
7-
86
97class BaseOpenAPIRequest (object ):
108
@@ -29,7 +27,8 @@ def get_body(self, spec):
2927 DeprecationWarning ,
3028 )
3129 # backward compatibility
32- return validate_body (spec , self )
30+ from openapi_core .shortcuts import validate_body
31+ return validate_body (spec , self , wrapper_class = None )
3332
3433 def get_parameters (self , spec ):
3534 warnings .warn (
@@ -38,7 +37,8 @@ def get_parameters(self, spec):
3837 DeprecationWarning ,
3938 )
4039 # backward compatibility
41- return validate_parameters (spec , self )
40+ from openapi_core .shortcuts import validate_parameters
41+ return validate_parameters (spec , self , wrapper_class = None )
4242
4343
4444class MockRequest (BaseOpenAPIRequest ):
You can’t perform that action at this time.
0 commit comments