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

com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.DeserializationDirectionHint.kt Maven / Gradle / Ivy

There is a newer version: 0.4.14
Show newest version
package com.ancientlightstudios.quarkus.kotlin.openapi.models.hints

import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformable.TransformableSpec
import com.ancientlightstudios.quarkus.kotlin.openapi.models.types.Direction
import com.ancientlightstudios.quarkus.kotlin.openapi.utils.ProbableBug

// specifies which is the deserialization direction
object DeserializationDirectionHint : Hint {

    var TransformableSpec.deserializationDirection: Direction
        get() = get(DeserializationDirectionHint) ?: ProbableBug("Deserialization direction not set")
        set(value) = set(DeserializationDirectionHint, value)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy