unit

open override fun unit(name: String): PathVariable<Unit>(source)

Creates a required PathVariable expecting a Unit value.

Return

path variable backed by the unit codec.

Parameters

name

canonical parameter name embedded in the URI template.