SchemaModelArr

data class SchemaModelArr<T>(var items: SchemaModel<*>?, var nullable: Boolean = false, var example: T? = null, var examples: List<T>? = null, var uniqueItems: Boolean? = null, var minItems: Int? = null, var maxItems: Int? = null, var type: DataType = DataType.array, var description: String? = null) : SchemaModel<T> (source)

Constructors

Link copied to clipboard
constructor(items: SchemaModel<*>?, nullable: Boolean = false, example: T? = null, examples: List<T>? = null, uniqueItems: Boolean? = null, minItems: Int? = null, maxItems: Int? = null, type: DataType = DataType.array, description: String? = null)

Properties

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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