Open fabioformosa opened 1 year ago
Currently the api caller gets
"message": "Validation failed for object='simpleTriggerInputDTO'. Error count: 1",
"errors": [
{
"codes": [
"ValidRepetition.simpleTriggerInputDTO",
"ValidRepetition"
],
"arguments": [
{
"codes": [
"simpleTriggerInputDTO.",
""
],
"arguments": null,
"defaultMessage": "",
"code": ""
}
],
"defaultMessage": "Invalid repetition values",
"objectName": "simpleTriggerInputDTO",
"code": "ValidRepetition"
}
],
At the moment, in case of validation errors, a bad request code is returned and a default error message in the response body. It's possible to customize the error response body. Take care that the customization doesn't override the customization applied by the project which imports quartz-manager (host project)