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

com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.SerializationDirectionHint.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 serialization direction
object SerializationDirectionHint : Hint {

    var TransformableSpec.serializationDirection: Direction
        get() = get(SerializationDirectionHint) ?: ProbableBug("Serialization direction not set")
        set(value) = set(SerializationDirectionHint, value)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy