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

com.ancientlightstudios.quarkus.kotlin.openapi.models.hints.ClientErrorResponseClassNameHint.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.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 error response interface in the client
object ClientErrorResponseClassNameHint : Hint {

    var TransformableRequest.clientErrorResponseClassName: ClassName
        get() = get(ClientErrorResponseClassNameHint) ?: ProbableBug("Name of the client error response not set")
        set(value) = set(ClientErrorResponseClassNameHint, value)

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy