Parameter

sealed interface Parameter<T : Any>(source)

Describes an HTTP parameter that participates in an endpoint URI.

Inheritors

Properties

Link copied to clipboard
abstract val codec: StringCodec<T>

Codec responsible for encoding and decoding parameter values.

Link copied to clipboard
abstract val name: String

Canonical parameter name.

Link copied to clipboard

Location of the parameter within the HTTP request.

Link copied to clipboard
abstract val required: Boolean

Indicates whether the parameter must be supplied by the caller.