HttpParameter

data class HttpParameter(val name: String, val location: HttpParameterLocation, val required: Boolean = false, val schema: HttpSchema = HttpSchema.String, val description: String? = null, val example: Any? = null, val component: HttpComponent<Parameter>? = null)

Constructors

Link copied to clipboard
constructor(name: String, location: HttpParameterLocation, required: Boolean = false, schema: HttpSchema = HttpSchema.String, description: String? = null, example: Any? = null, component: HttpComponent<Parameter>? = null)

Properties

Link copied to clipboard
val component: HttpComponent<Parameter>?

When set, the document references this component instead of describing the parameter inline.

Link copied to clipboard
Link copied to clipboard
val example: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard