ParameterModel

data class ParameterModel<T>(var name: String, var in: ParameterLocation, var required: Boolean = true, 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, var style: ParameterStyle<*>? = null, var explode: Boolean = false) : DataModel(source)

Constructors

Link copied to clipboard
constructor(name: String, in: ParameterLocation, required: Boolean = true, description: String? = null, deprecated: Boolean? = null, allowEmptyValue: Boolean? = null, schema: SchemaModel<T>? = null, example: T? = null, examples: MutableMap<String, ExampleModel<T>>? = null, style: ParameterStyle<*>? = null, explode: Boolean = false)

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
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?>