HeaderModel

data class HeaderModel<T>(var required: Boolean, var description: String? = null, var deprecated: Boolean? = null, var allowEmptyValue: Boolean? = null, var schema: SchemaModel<T>? = null, var example: T? = null, var examples: MutableMap<String, ExampleModel<T>>? = null) : DataModel(source)

Constructors

Link copied to clipboard
constructor(required: Boolean, description: String? = null, deprecated: Boolean? = null, allowEmptyValue: Boolean? = null, schema: SchemaModel<T>? = null, example: T? = null, examples: MutableMap<String, ExampleModel<T>>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var example: T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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