How can i make swagger work when i need to use @EnableWebMvc I need this method/class
@EnableWebMvc
@Configuration @EnableWebMvc public class CorsConfiguration {