We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
anyOf
1 parent 19273ca commit 8329493Copy full SHA for 8329493
firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt
@@ -309,15 +309,13 @@ internal constructor(
309
*
310
* Example: A field that can hold either a simple userID or a more detailed user object.
311
312
- * Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj(mapOf(
313
- *
314
* ```
+ * Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj( mapOf(
315
* "userID" to Schema.integer(description = "User ID"),
316
* "username" to Schema.string(description = "Username")
+ * )))
317
318
319
- * )) )
320
321
* @param schemas The list of valid schemas which could be here
322
*/
323
@JvmStatic
0 commit comments