io.tapirtest.junit5.JUnit5Configuration Maven / Gradle / Ivy
package io.tapirtest.junit5;
import de.bmiag.tapir.bootstrap.FqnAnnotationBeanNameGenerator;
import de.bmiag.tapir.bootstrap.annotation.ModuleConfiguration;
import de.bmiag.tapir.bootstrap.annotation.NoScan;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
/**
* Provides the configuration for tapir's JUnit 5 module. In this configuration class only beans are registered which are not annotated by {@link Component @Component}.
*
* @author Oliver Libutzki {@literal <}[email protected]{@literal >}
*
* @since 1.0.0
*/
@ModuleConfiguration
@AutoConfigureOrder(JUnit5Configuration.AUTO_CONFIGURE_ORDER)
@ComponentScan(basePackageClasses = JUnit5Configuration.class, nameGenerator = FqnAnnotationBeanNameGenerator.class, excludeFilters = @ComponentScan.Filter(classes = NoScan.class))
@SuppressWarnings("all")
public class JUnit5Configuration {
/**
* @since 1.0.0
*/
public final static int AUTO_CONFIGURE_ORDER = (-8000);
}