com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.SerializationDirectionHint.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 serialization direction
object SerializationDirectionHint : Hint {
var TransformableSpec.serializationDirection: Direction
get() = get(SerializationDirectionHint) ?: ProbableBug("Serialization direction not set")
set(value) = set(SerializationDirectionHint, value)
}