com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.ClientHttpResponseClassNameHint.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.TransformableRequest
import com.ancientlightstudios.quarkus.kotlin.openapi.utils.ProbableBug
// specifies the name of the sealed http response class in the client
object ClientHttpResponseClassNameHint : Hint {
var TransformableRequest.clientHttpResponseClassName: ClassName
get() = get(ClientHttpResponseClassNameHint) ?: ProbableBug("Name of the client http response not set")
set(value) = set(ClientHttpResponseClassNameHint, value)
}