From 5af638b551b4269d105599b41f5ca8ed162d6ad0 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 20 Aug 2024 13:54:27 +0000 Subject: [PATCH] RequestUnmarshalResult body type fix --- openapi_core/unmarshalling/request/datatypes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openapi_core/unmarshalling/request/datatypes.py b/openapi_core/unmarshalling/request/datatypes.py index 9e82ccab..47d520c3 100644 --- a/openapi_core/unmarshalling/request/datatypes.py +++ b/openapi_core/unmarshalling/request/datatypes.py @@ -4,6 +4,7 @@ from dataclasses import dataclass from dataclasses import field +from typing import Any from openapi_core.datatypes import Parameters from openapi_core.unmarshalling.datatypes import BaseUnmarshalResult @@ -11,6 +12,6 @@ @dataclass class RequestUnmarshalResult(BaseUnmarshalResult): - body: str | None = None + body: Any | None = None parameters: Parameters = field(default_factory=Parameters) security: dict[str, str] | None = None