Add ProblemDetailJacksonMixin

Closes gh-28665
This commit is contained in:
rstoyanchev
2022-07-12 13:04:15 +01:00
parent 1c03aaaddc
commit 380aedb12a
9 changed files with 179 additions and 30 deletions

View File

@@ -148,9 +148,7 @@ public class ResponseBodyResultHandlerTests {
"{\"type\":\"about:blank\"," +
"\"title\":\"Bad Request\"," +
"\"status\":400," +
"\"detail\":null," +
"\"instance\":\"/path\"," +
"\"properties\":null}");
"\"instance\":\"/path\"}");
}
@Test

View File

@@ -259,9 +259,7 @@ public class ResponseEntityResultHandlerTests {
"{\"type\":\"about:blank\"," +
"\"title\":\"Bad Request\"," +
"\"status\":400," +
"\"detail\":null," +
"\"instance\":\"/path\"," +
"\"properties\":null}");
"\"instance\":\"/path\"}");
}
@Test
@@ -280,9 +278,7 @@ public class ResponseEntityResultHandlerTests {
"{\"type\":\"about:blank\"," +
"\"title\":\"Bad Request\"," +
"\"status\":400," +
"\"detail\":null," +
"\"instance\":\"/path\"," +
"\"properties\":null}");
"\"instance\":\"/path\"}");
}
@Test