Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down