The
BootstrapConfiguration
is the main entry point for executing tapir tests. By default it enables Spring Boot's
auto-configuration and enables component scan.
The component scan searches for Spring components which are located in the package (or subpackages) of the class annotated by
BootstrapConfiguration
.
It's possible to deactivate this behaviour by setting
componentScan()
and/or
autoConfigure()
to false. If the component scan is activated, a filter is generated
automatically for the NoScan annotation. Moreover the annotation checks if the annotated class is already annotated by
ComponentScan
and/or
EnableAutoConfiguration
and
skips the generation if it's already present. The generated
tapir.factories points to the annotated class.