io.vrap.codegen.languages.bruno.model.BrunoModelModule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bruno Show documentation
Show all versions of bruno 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.bruno.model
import io.vrap.rmf.codegen.di.RamlGeneratorModule
import io.vrap.rmf.codegen.di.Module
import io.vrap.rmf.codegen.rendering.CodeGenerator
import io.vrap.rmf.codegen.rendering.FileGenerator
object BrunoModelModule : Module {
override fun configure(generatorModule: RamlGeneratorModule) = setOf(
FileGenerator(
setOf(
BrunoModuleRenderer(generatorModule.provideRamlModel(), generatorModule.vrapTypeProvider()),
BrunoMethodRenderer(generatorModule.provideRamlModel(), generatorModule.vrapTypeProvider()),
BrunoActionRenderer(generatorModule.provideRamlModel(), generatorModule.vrapTypeProvider())
)
)
)
}