SchemaModelMap

data class SchemaModelMap<T : Map<String, U>, U>(var additionalProperties: SchemaModel<U>, var nullable: Boolean = false, var example: T? = null, var examples: List<T>? = null, var type: DataType = DataType.`object`, var description: String? = null) : SchemaModel<T> (source)

Constructors

Link copied to clipboard
constructor(additionalProperties: SchemaModel<U>, nullable: Boolean = false, example: T? = null, examples: List<T>? = null, type: DataType = DataType.`object`, description: String? = null)

Properties

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

Functions

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