All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.http4k.lens.ParamMeta.kt Maven / Gradle / Ivy

package org.http4k.lens

import kotlin.reflect.KClass

sealed class ParamMeta(val description: String) {
    data class ArrayParam(private val itemType: ParamMeta) : ParamMeta("array") {
        fun itemType() = itemType
    }
    class EnumParam>(val clz: KClass) : ParamMeta("string")
    object StringParam : ParamMeta("string")
    object ObjectParam : ParamMeta("object")
    object BooleanParam : ParamMeta("boolean")
    object IntegerParam : ParamMeta("integer")
    object FileParam : ParamMeta("file")
    object NumberParam : ParamMeta("number")
    object NullParam : ParamMeta("null")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy