Hey Ahmed, thanks for the hints, both @Aspect and @EnableSwagger2 are important annotations! I am new myself to aspect oriented programming, but the concept is really interesting and I'll learn more about it myself in the future😀 As for the Swagger-docu, I have another post here that explains the annotation well: dev.to/pmgysel/log-capturing-app-w.... Finally, yes @Autowired is something I try to avoid and use constructor based dependency injection instead! I mostly just use @Autowired for test classes...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Ahmed, thanks for the hints, both
@Aspect
and@EnableSwagger2
are important annotations! I am new myself to aspect oriented programming, but the concept is really interesting and I'll learn more about it myself in the future😀 As for the Swagger-docu, I have another post here that explains the annotation well: dev.to/pmgysel/log-capturing-app-w.... Finally, yes@Autowired
is something I try to avoid and use constructor based dependency injection instead! I mostly just use @Autowired for test classes...