Skip to content

Multiplatform Ktor schema declarationopensavvy.spine.apiParametersListParameter

ListParameter

class ListParameter<T>(val name: String)

A declared query list parameter in an API schema.

See Parameters.

Constructors

ListParameter

constructor(name: String)

Properties

name

val name: String

Name of the parameter as it appears in the URL.

Functions

getValue

inline operator fun <T> Parameters.ListParameter<T>.getValue(thisRef: Parameters, property: KProperty<*>): List<T>

Internal method used by the parameter declaration syntax.

setValue

inline operator fun <T> Parameters.ListParameter<T>.setValue(thisRef: Parameters, property: KProperty<*>, value: List<T>)

Internal method used by the parameter declaration syntax.