Parameter

sealed interface Parameter<T : Any>(source)

Describes a typed value that participates in URI construction.

Tapik treats path variables and query parameters as one family so URI builders can accumulate them in declaration order while generators still know where each value belongs on the wire.

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.