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

io.vrap.codegen.languages.javalang.model.JavaModelModule.kt Maven / Gradle / Ivy

Go to download

RAML API client code generators based on the REST Modeling Framework. https://github.com/vrapio/rest-modeling-framework

There is a newer version: 1.0.0-20241111140641
Show newest version
package io.vrap.codegen.languages.javalang.model

import io.vrap.rmf.codegen.di.RamlGeneratorModule
import io.vrap.rmf.codegen.di.Module
import io.vrap.rmf.codegen.rendering.*

object JavaModelModule: Module {

    override fun configure(generatorModule: RamlGeneratorModule) = setOf(
            ObjectTypeGenerator(
                    setOf(
                            JavaObjectTypeRenderer(generatorModule.vrapTypeProvider())
                    ),
                    generatorModule.allObjectTypes()
            ),
            StringTypeGenerator(
                    setOf(
                            JavaStringTypeRenderer(generatorModule.vrapTypeProvider())
                    ),
                    generatorModule.allEnumStringTypes()
            )
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy