Skip to content

Commit 47e91fb

Browse files
committed
Fix broken tests
Signed-off-by: Christian Tzolov <[email protected]>
1 parent 0605b31 commit 47e91fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spring-ai-model/src/test/java/org/springframework/ai/converter/BeanOutputConverterTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ void formatClassType() {
388388
"type" : "string"
389389
}
390390
},
391+
"required" : [ "someString" ],
391392
"additionalProperties" : false
392393
}```
393394
""");
@@ -414,6 +415,7 @@ void formatTypeReference() {
414415
"type" : "string"
415416
}
416417
},
418+
"required" : [ "someString" ],
417419
"additionalProperties" : false
418420
}```
419421
""");
@@ -442,6 +444,7 @@ void formatTypeReferenceArray() {
442444
"type" : "string"
443445
}
444446
},
447+
"required" : [ "someString" ],
445448
"additionalProperties" : false
446449
}
447450
}```
@@ -461,6 +464,7 @@ void formatClassTypeWithAnnotations() {
461464
"description" : "string_property_description"
462465
}
463466
},
467+
"required" : [ "string_property" ],
464468
"additionalProperties" : false
465469
}```
466470
""");
@@ -481,6 +485,7 @@ void formatTypeReferenceWithAnnotations() {
481485
"description" : "string_property_description"
482486
}
483487
},
488+
"required" : [ "string_property" ],
484489
"additionalProperties" : false
485490
}```
486491
""");

0 commit comments

Comments
 (0)