Skip to content

Commit d181ded

Browse files
author
David Motsonashvili
committed
fix tests
1 parent 88b6f8e commit d181ded

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

firebase-ai/src/test/java/com/google/firebase/ai/SerializationTests.kt

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,15 @@ internal class SerializationTests {
175175
"type": {
176176
"type": "string"
177177
},
178-
"format": {
178+
"description": {
179179
"type": "string"
180180
},
181-
"description": {
181+
"format": {
182182
"type": "string"
183183
},
184184
"nullable": {
185185
"type": "boolean"
186186
},
187-
"items": {
188-
"${'$'}ref": "Schema"
189-
},
190187
"enum": {
191188
"type": "array",
192189
"items": {
@@ -204,7 +201,31 @@ internal class SerializationTests {
204201
"items": {
205202
"type": "string"
206203
}
207-
}
204+
},
205+
"items": {
206+
"${'$'}ref": "Schema"
207+
},
208+
"title": {
209+
"type": "string"
210+
},
211+
"minItems": {
212+
"type": "integer"
213+
},
214+
"maxItems": {
215+
"type": "integer"
216+
},
217+
"minimum": {
218+
"type": "number"
219+
},
220+
"maximum": {
221+
"type": "number"
222+
},
223+
"anyOf": {
224+
"type": "array",
225+
"items": {
226+
"${'$'}ref": "Schema"
227+
}
228+
}
208229
}
209230
}
210231
"""

0 commit comments

Comments
 (0)