Class ResponseSchemaValidator

    • Method Detail

      • validateAttribute

        protected Optional<com.fasterxml.jackson.databind.JsonNode> validateAttribute​(SchemaAttribute schemaAttribute,
                                                                                      com.fasterxml.jackson.databind.JsonNode attribute)
        validates the attribute in a response context
        Specified by:
        validateAttribute in class AbstractSchemaValidator
        Parameters:
        schemaAttribute - the definition of the attribute that must be validated
        attribute - the attribute to validate
        Returns:
        the validated attribute