We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I noticed that "links" key don't has underscore at beginning (_links), and this not conform to the vnd.error specs.
For example:
[ { "logref": "error", "message": "Could not find test", "links": [ { "rel": "about", "href": "http://..." } ] } ]
This vnd.error is produced by this code:
@ControllerAdvice class TestControllerAdvice { @ResponseBody @ExceptionHandler(TestNotFoundException.class) @ResponseStatus(HttpStatus.NOT_FOUND) VndErrors testNotFoundExceptionHandler(TestNotFoundException ex) { return new VndErrors( "error", ex.getMessage(), new Link("http://...", "about") ); } }
The text was updated successfully, but these errors were encountered:
#786 - Implement vendor neutral error handling with RFC-7807.
cba5d04
Supercedes: #775, #718, #651, #546, #478, #345
0e1fb52
f4d9d86
0ce01ae
VndErrors is incredibly HAL specific. It leans on having registered the Jackson2HalModule to properly render things.
We clean up the implementation to better match the spec via 4f3be11, but are planning to deprecate the whole things and embrace RFC-7807
Sorry, something went wrong.
No branches or pull requests
I noticed that "links" key don't has underscore at beginning (_links), and this not conform to the vnd.error specs.
For example:
This vnd.error is produced by this code:
The text was updated successfully, but these errors were encountered: