Class ValidationMessageAdapter
java.lang.Object
io.micronaut.jsonschema.validation.ValidationMessageAdapter
- All Implemented Interfaces:
ValidationMessage
Adapter from
ValidationMessage
into ValidationMessage
.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionValidationMessageAdapter
(com.networknt.schema.ValidationMessage validationMessage) -
Method Summary
-
Constructor Details
-
ValidationMessageAdapter
public ValidationMessageAdapter(com.networknt.schema.ValidationMessage validationMessage) - Parameters:
validationMessage
- Original validation message.
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in interfaceValidationMessage
- Returns:
- JSON Schema Validation Message
-
getValidationMessage
public com.networknt.schema.ValidationMessage getValidationMessage()- Returns:
- Original validation message.
-
toString
-