I've been working on a web service that I've been building in Spring Boot, however one issue I've come across is that when Spring Boot comes across a problem, the structure of the JSON response it generates doesn't match the structure of errors I'm generating in endpoints. The problem with this is that the clients of the service are required to interpret multiple error response structures, which really is unnecessary. The structure of a default error generated by Spring Boot might look something like this; { "timestamp": 1507556642643, "status": 400, "error": "Bad ...

Read More

SIGNUP TO THE NEWSLETTER

Get useful tips on web application development and software engineering.