I have trouble in applying Java Spring boots with some rules: - If parameters values do not match the specifics possible values you should return HTTP status code 400("Bad Request") - Responses should have Content-Type header with approriate value(application/json) - If you need to create multiple classes - You can use only the following libraries:
Spring web MVC (v.5.0.7.Release)
Faster XML Jackson, Jackson datatype JSR310
I need detailed method read healtcheck with message: {"currentTime" : "2020-06-01T20:45:35Z,"application":"OK"}