OneOf

annotation class OneOf(val value: KClass<*>)(source)

Validates the data against exactly one of the provided schemas.

Report a problem

Parameters

value

Variadic array of Kotlin classes representing the possible schemas.

Properties

Link copied to clipboard
val value: Array<out KClass<*>>