@CompileStatic class ValidationReportRoot extends Object
Part of the response metadata validation report containing details about validation failure context in the form of root object/bean.
An example of corresponding metadata JSON with only interesting parts included:{ "metaData": { "general": { ... }, "http": { ... }, "violation": { "code": "400", "message": "Request is not valid.", "type": "validation", "validationReport": { root: { type: "myRequest" } constraintViolations: [ ... ] } } }, "payload": {} }
Constructor and description |
---|
ValidationReportRoot() |
The simple uncapitalized class name of the root object.
Do note that in constraint violations, this name is not included at the beginning of the property path.Groovy Documentation