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

io.redskap.swagger.brake.runner.Starter Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package io.redskap.swagger.brake.runner;

import io.redskap.swagger.brake.core.CoreConfiguration;
import io.redskap.swagger.brake.maven.MavenConfiguration;
import io.redskap.swagger.brake.report.ReporterConfiguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Starter {
    public static void start(Options options) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(RunnerConfiguration.class, ReporterConfiguration.class,
            MavenConfiguration.class, CoreConfiguration.class);
        context.getBean(Runner.class).run(options);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy