File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
spring-ai-model/src/test/java/org/springframework/ai/converter Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff 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 """ );
You can’t perform that action at this time.
0 commit comments