From 2b2c823e27f4dbc02bb6b3b3c10dd64167994725 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Tue, 3 Jun 2025 00:49:54 -0300 Subject: [PATCH] Fixes Test of AllOf --- tests/parser/test_allof_type_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/parser/test_allof_type_parser.py b/tests/parser/test_allof_type_parser.py index e35319c..17ff3fa 100644 --- a/tests/parser/test_allof_type_parser.py +++ b/tests/parser/test_allof_type_parser.py @@ -221,7 +221,7 @@ class TestAllOfTypeParser(TestCase): type_parsing, _ = AllOfTypeParser().from_properties("placeholder", properties) self.assertEqual( - type_parsing.schema()["properties"]["name"]["description"], + type_parsing.model_json_schema()["properties"]["name"]["description"], "One | Of | Us", )