You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
692 B
20 lines
692 B
package de.superx; |
|
|
|
import java.util.List; |
|
|
|
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; |
|
import org.springframework.web.servlet.config.annotation.EnableWebMvc; |
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; |
|
import org.junit.Ignore; |
|
import org.springframework.context.annotation.Configuration; |
|
import org.springframework.http.converter.HttpMessageConverter; |
|
|
|
@Ignore |
|
@Configuration |
|
@EnableWebMvc |
|
public class WebTestConfig implements WebMvcConfigurer { |
|
@Override |
|
public void extendMessageConverters(List<HttpMessageConverter<?>> converters) { |
|
converters.add(new MappingJackson2HttpMessageConverter()); |
|
} |
|
}
|
|
|