If you don't need to use @SpringBootApplication, the @EnableAutoConfiguration and @ComponentScan annotations that it imports defines that actions so You can even use All those rather.
Dive into coding the company logic https://fraservftc951447.blogdiloz.com/29585346/a-simple-key-for-spring-boot-developer-unveiled