toParameterSpec

open fun KType.toParameterSpec(info: MethodInfo<*, *>, feature: Kompendium): List<Parameter>

Parses a type for all parameter information. All fields in the receiver must be annotated with io.bkbn.kompendium.annotations.Param.

Receiver

type

Return

list of valid parameter specs as detailed by the KType members

Throws

if the class could not be parsed properly