From 7c5a6b43353c6a4f3c0378dd67e55150737c8c0f Mon Sep 17 00:00:00 2001 From: Yasser Tahiri Date: Tue, 2 Jan 2024 17:43:33 +0100 Subject: [PATCH] Refactor JSON schema for property 'x' --- tests/test_json_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_json_schema.py b/tests/test_json_schema.py index 1f11cb51..bd4186f2 100644 --- a/tests/test_json_schema.py +++ b/tests/test_json_schema.py @@ -191,8 +191,8 @@ { 'properties': { 'x': { - 'anyOf': [{'type': 'string'}, {'type': 'integer'}], 'title': 'X', + 'type': 'string', } }, 'required': ['x'],