We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5392843 + 79804a0 commit 099214fCopy full SHA for 099214f
1 file changed
src/main/java/nl/dannyj/mistral/models/completion/tool/JsonSchema.java
@@ -17,6 +17,7 @@
17
package nl.dannyj.mistral.models.completion.tool;
18
19
import com.fasterxml.jackson.annotation.JsonProperty;
20
+import com.fasterxml.jackson.annotation.JsonRawValue;
21
import jakarta.validation.constraints.NotNull;
22
import lombok.AllArgsConstructor;
23
import lombok.Builder;
@@ -60,6 +61,7 @@ public class JsonSchema {
60
61
* @return The string representing the JSON schema.
62
*/
63
@NotNull
64
+ @JsonRawValue
65
@JsonProperty("schema")
66
private String schema;
67
@@ -71,4 +73,7 @@ public class JsonSchema {
71
73
72
74
@Builder.Default
75
private boolean strict = false;
76
+
77
78
79
}
0 commit comments