com.ancientlightstudios.quarkus.kotlin.openapi.models.kotlin.expression.Expression.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.kotlin.expression
import com.ancientlightstudios.quarkus.kotlin.openapi.emitter.CodeWriter
import com.ancientlightstudios.quarkus.kotlin.openapi.models.kotlin.KotlinRenderable
interface Expression : KotlinRenderable {
fun evaluate(): String
override fun render(writer: CodeWriter) = with(writer) {
write(evaluate())
}
}