SchemaModelLitteral

data class SchemaModelLitteral<T>(var type: DataType? = null, var format: DataFormat? = null, var nullable: Boolean = false, var minimum: T? = null, var maximum: T? = null, var minLength: Int? = null, var maxLength: Int? = null, var pattern: String? = null, var example: T? = null, var examples: List<T>? = null, var description: String? = null) : SchemaModel<T> (source)

Constructors

Link copied to clipboard
constructor(type: DataType? = null, format: DataFormat? = null, nullable: Boolean = false, minimum: T? = null, maximum: T? = null, minLength: Int? = null, maxLength: Int? = null, pattern: String? = null, example: T? = null, examples: List<T>? = null, 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
var maximum: T?
Link copied to clipboard
Link copied to clipboard
var minimum: T?
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?>