com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.OriginPathHint.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.TransformableObject
import com.ancientlightstudios.quarkus.kotlin.openapi.utils.ProbableBug
// specifies where the object was found in the spec file
object OriginPathHint : Hint {
var TransformableObject.originPath: String
get() = get(OriginPathHint) ?: ProbableBug("Origin path not set for model object")
set(value) = set(OriginPathHint, value)
}