Remove "with" methods in ProblemDetail
ProblemDetail is intended to be extended with additional fields. This commit removes its "with" methods for chained initialization to keep it as plain as possible and avoid imposing a particular style on subclasses. See gh-27052
This commit is contained in:
@@ -434,7 +434,8 @@ public class RequestResponseBodyMethodProcessorTests {
|
||||
"\"title\":\"Bad Request\"," +
|
||||
"\"status\":400," +
|
||||
"\"detail\":null," +
|
||||
"\"instance\":\"/path\"}");
|
||||
"\"instance\":\"/path\"," +
|
||||
"\"properties\":null}");
|
||||
}
|
||||
|
||||
@Test // SPR-13135
|
||||
|
||||
Reference in New Issue
Block a user