Commit 4d50fada authored by Daniel Gerhardt's avatar Daniel Gerhardt

Swap priorities of v2 and v3 API media types

Priortizing v3 caused problems for v2 clients on POST requests.
parent ff4c3cfb
......@@ -125,8 +125,8 @@ public class AppConfig extends WebMvcConfigurerAdapter {
@Override
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
converters.add(stringMessageConverter());
converters.add(defaultJsonMessageConverter());
converters.add(apiV2JsonMessageConverter());
converters.add(defaultJsonMessageConverter());
//converters.add(new MappingJackson2XmlHttpMessageConverter(builder.createXmlMapper(true).build()));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment