We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3221983 commit 3f5e81eCopy full SHA for 3f5e81e
openapi_core/unmarshalling/schemas/util.py
@@ -18,8 +18,8 @@ def format_uuid(value: Any) -> UUID:
18
return UUID(value)
19
20
21
-def format_byte(value: str, encoding: str = "utf8") -> str:
22
- return str(b64decode(value), encoding)
+def format_byte(value: str, encoding: str = "utf8") -> bytes:
+ return b64decode(value)
23
24
25
def format_number(value: str) -> Union[int, float]:
0 commit comments