Better Object Internal Structure and Type Selection #16
@@ -221,7 +221,7 @@ class TestAllOfTypeParser(TestCase):
|
|||||||
type_parsing, _ = AllOfTypeParser().from_properties("placeholder", properties)
|
type_parsing, _ = AllOfTypeParser().from_properties("placeholder", properties)
|
||||||
|
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
type_parsing.schema()["properties"]["name"]["description"],
|
type_parsing.model_json_schema()["properties"]["name"]["description"],
|
||||||
"One | Of | Us",
|
"One | Of | Us",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user