Branch: refs/heads/main
Home:
https://github.com/resteasy/resteasy
Commit: 73446c4bc376b8d3e3849a903d98a0ca510b9281
https://github.com/resteasy/resteasy/commit/73446c4bc376b8d3e3849a903d98a...
Author: James R. Perkins <jperkins(a)redhat.com>
Date: 2024-02-02 (Fri, 02 Feb 2024)
Changed paths:
M
providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/JsonProcessingExceptionMapper.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jackson2/whitelist/WhiteListPolymorphicTypeValidatorManualOverrideTest.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jackson2/whitelist/WhiteListPolymorphicTypeValidatorTest.java
Log Message:
-----------
[RESTEASY-3443] In the JsonProcessingExceptionMapper currently returns a 500 status.
However, it's more correct to return a 400 as it's a processing error. This is not
backwards compatible. It can easily be overridden by creating a custom ExceptionMapper.
https://issues.redhat.com/browse/RESTEASY-3443
Signed-off-by: James R. Perkins <jperkins(a)redhat.com>
Commit: 3f64acb52e01eb9b1e16cb39988b55f01efd61ab
https://github.com/resteasy/resteasy/commit/3f64acb52e01eb9b1e16cb39988b5...
Author: James R. Perkins <jperkins(a)redhat.com>
Date: 2024-02-06 (Tue, 06 Feb 2024)
Changed paths:
M
providers/jackson2/src/main/java/org/jboss/resteasy/plugins/providers/jackson/JsonProcessingExceptionMapper.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jackson2/whitelist/WhiteListPolymorphicTypeValidatorManualOverrideTest.java
M
testsuite/integration-tests/src/test/java/org/jboss/resteasy/test/providers/jackson2/whitelist/WhiteListPolymorphicTypeValidatorTest.java
Log Message:
-----------
Merge pull request #4009 from jamezp/RESTEASY-3443
[RESTEASY-3443] In the JsonProcessingExceptionMapper currently return…
Compare:
https://github.com/resteasy/resteasy/compare/32d1a82d204d...3f64acb52e01