diff --git a/singer_sdk/helpers/_typing.py b/singer_sdk/helpers/_typing.py index f3ea68e1b4..fdaaecd6ef 100644 --- a/singer_sdk/helpers/_typing.py +++ b/singer_sdk/helpers/_typing.py @@ -60,7 +60,7 @@ def append_type(type_dict: dict, new_type: str) -> dict: return result if "oneOf" in result: - result["oneOf"].append(new_type) + result["oneOf"].append({"type": new_type}) return result if "type" in result: