fix tests

This commit is contained in:
David Soria Parra
2024-12-21 01:16:10 +00:00
parent 680afeeed6
commit 44e1abb7f1
3 changed files with 15 additions and 5 deletions

View File

@@ -300,7 +300,7 @@ def test_complex_function_json_schema():
},
"field_with_default_via_field_annotation_before_nondefault_arg": {
"default": 1,
"title": "Field With Default Via Field Annotation Before Arg",
"title": "Field With Default Via Field Annotation Before Nondefault Arg",
"type": "integer",
},
"unannotated": {"title": "unannotated", "type": "string"},
@@ -319,7 +319,7 @@ def test_complex_function_json_schema():
"type": "string",
},
"my_model_a_with_default": {
"allOf": [{"$ref": "#/$defs/SomeInputModelA"}],
"$ref": "#/$defs/SomeInputModelA",
"default": {},
},
"an_int_with_default": {