Skip to content

Commit d43a10b

Browse files
committed
shortcuts refactor
1 parent 25bc5f0 commit d43a10b

File tree

4 files changed

+925
-251
lines changed

4 files changed

+925
-251
lines changed

openapi_core/__init__.py

+12
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
"""OpenAPI core module"""
2+
from openapi_core.shortcuts import unmarshal_apicall_request
3+
from openapi_core.shortcuts import unmarshal_apicall_response
24
from openapi_core.shortcuts import unmarshal_request
35
from openapi_core.shortcuts import unmarshal_response
46
from openapi_core.shortcuts import unmarshal_webhook_request
57
from openapi_core.shortcuts import unmarshal_webhook_response
8+
from openapi_core.shortcuts import validate_apicall_request
9+
from openapi_core.shortcuts import validate_apicall_response
610
from openapi_core.shortcuts import validate_request
711
from openapi_core.shortcuts import validate_response
12+
from openapi_core.shortcuts import validate_webhook_request
13+
from openapi_core.shortcuts import validate_webhook_response
814
from openapi_core.spec import Spec
915
from openapi_core.unmarshalling.request import RequestValidator
1016
from openapi_core.unmarshalling.request import V3RequestUnmarshaller
@@ -47,8 +53,14 @@
4753
"Spec",
4854
"unmarshal_request",
4955
"unmarshal_response",
56+
"unmarshal_apicall_request",
5057
"unmarshal_webhook_request",
58+
"unmarshal_apicall_response",
5159
"unmarshal_webhook_response",
60+
"validate_apicall_request",
61+
"validate_webhook_request",
62+
"validate_apicall_response",
63+
"validate_webhook_response",
5264
"validate_request",
5365
"validate_response",
5466
"V30RequestUnmarshaller",

0 commit comments

Comments
 (0)