com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.ResponseInterfaceNameHint.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.TransformableResponse
// specifies the class name of a response
object ResponseInterfaceNameHint : Hint {
var TransformableResponse.responseInterfaceName: ClassName?
get() = get(ResponseInterfaceNameHint)
set(value) {
if (value == null) {
clear(ResponseInterfaceNameHint)
} else {
set(ResponseInterfaceNameHint, value)
}
}
}