Skip to content

Commit 8329493

Browse files
authored
[Ai] Fix anyOf refdoc (#7066)
The sample code was not correctly enclosed in backticks (`), causing the code to be incorrectly rendered.
1 parent 19273ca commit 8329493

File tree

1 file changed

+2
-4
lines changed
  • firebase-ai/src/main/kotlin/com/google/firebase/ai/type

1 file changed

+2
-4
lines changed

firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Schema.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,13 @@ internal constructor(
309309
*
310310
* Example: A field that can hold either a simple userID or a more detailed user object.
311311
*
312-
* Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj(mapOf(
313-
*
314312
* ```
313+
* Schema.anyOf( listOf( Schema.integer(description = "User ID"), Schema.obj( mapOf(
315314
* "userID" to Schema.integer(description = "User ID"),
316315
* "username" to Schema.string(description = "Username")
316+
* )))
317317
* ```
318318
*
319-
* )) )
320-
*
321319
* @param schemas The list of valid schemas which could be here
322320
*/
323321
@JvmStatic

0 commit comments

Comments
 (0)