com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.DeserializationDirectionHint.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-kotlin-openapi-maven-plugin Show documentation
Show all versions of quarkus-kotlin-openapi-maven-plugin Show documentation
A Maven plugin to use the OpenAPI generator.
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)
}