I have this useless endpoint in path \"/test\":
@PUT public Response doSomething() { return Response.status(409).build(); }
and I test it
I had this problem as well, and solved it by excluding ErrorMvcAutoConfiguration from the spring boot auto config:
@EnableAutoConfiguration(exclude = { ErrorMvcAutoConfiguration.class })