com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.ServerRestInterfaceClassNameHint.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.kotlin.ClassName
import com.ancientlightstudios.quarkus.kotlin.openapi.models.transformable.TransformableRequestBundle
import com.ancientlightstudios.quarkus.kotlin.openapi.utils.ProbableBug
// specifies the name of the server class (the class which does the actual request handling)
object ServerRestInterfaceClassNameHint : Hint {
var TransformableRequestBundle.serverRestInterfaceClassName: ClassName
get() = get(ServerRestInterfaceClassNameHint) ?: ProbableBug("Name of the server rest interface not set")
set(value) = set(ServerRestInterfaceClassNameHint, value)
}