Skip to content

Commit cd3c777

Browse files
chore: [Orchestration] Clarify response format
1 parent ecb47e9 commit cd3c777

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/ResponseJsonSchema.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ public class ResponseJsonSchema {
3333
@Nonnull Map<String, Object> schemaMap;
3434
@Nonnull String name;
3535
@Nullable String description;
36+
37+
/**
38+
* ⚠️ Fields of the schema class should be annotated with {@code @JsonProperty(required = true)}
39+
* to not fail requests.
40+
*/
3641
@Nullable Boolean strict;
3742

3843
/**

0 commit comments

Comments
 (0)