io.vrap.codegen.languages.javalang.dsl.GroovyDslModule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-renderer Show documentation
Show all versions of java-renderer Show documentation
RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework
package io.vrap.codegen.languages.javalang.dsl
import io.vrap.rmf.codegen.di.RamlGeneratorModule
import io.vrap.rmf.codegen.di.Module
import io.vrap.rmf.codegen.rendering.ObjectTypeGenerator
object GroovyDslModule: Module {
override fun configure(generatorModule: RamlGeneratorModule) = setOf(
ObjectTypeGenerator(
setOf(
GroovyDslRenderer(generatorModule.vrapTypeProvider())
),
generatorModule.allObjectTypes()
)
)
}