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

io.vrap.codegen.languages.javalang.client.builder.test.JavaTestModule.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-20241120142200
Show newest version

package io.vrap.codegen.languages.javalang.client.builder.test

import io.vrap.codegen.languages.extensions.deprecated
import io.vrap.rmf.codegen.di.RamlGeneratorModule
import io.vrap.rmf.codegen.di.Module
import io.vrap.rmf.codegen.rendering.*

object JavaTestModule: Module {
    override fun configure(generatorModule: RamlGeneratorModule) = setOf (
        ResourceGenerator(
                setOf(
                        JavaRequestTestRenderer(generatorModule.vrapTypeProvider())
                ), generatorModule.allResources().filterNot { it.deprecated() }
        ),
        FileGenerator(
                setOf(
                        JavaBuilderTestRenderer(generatorModule.vrapTypeProvider(), generatorModule.allObjectTypes())
                )
        )
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy