OneSchemaModelOf

data class OneSchemaModelOf<T>(val oneOf: List<SchemaModel<out T>>, var properties: Map<String, SchemaModel<*>>? = null, val discriminator: Discriminator<T>? = null) : SchemaModel<T> (source)

Constructors

Link copied to clipboard
constructor(oneOf: List<SchemaModel<out T>>, properties: Map<String, SchemaModel<*>>? = null, discriminator: Discriminator<T>? = null)

Properties

Link copied to clipboard
open override var description: String?
Link copied to clipboard
Link copied to clipboard
open override var example: T?
Link copied to clipboard
open override var examples: List<T>?
Link copied to clipboard
val oneOf: List<SchemaModel<out T>>
Link copied to clipboard

Functions

Link copied to clipboard
open fun serialize(): Map<String, Any?>