diff --git a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt index ca4466e75fe..5f2f6ca9350 100644 --- a/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt +++ b/firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt @@ -309,15 +309,13 @@ internal constructor( * * Example: A field that can hold either a simple userID or a more detailed user object. * - * Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj(mapOf( - * * ``` + * Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj( mapOf( * "userID" to Schema.integer(description = "User ID"), * "username" to Schema.string(description = "Username") + * ))) * ``` * - * )) ) - * * @param schemas The list of valid schemas which could be here */ @JvmStatic