All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.dropwizard.jersey.validation.ValidationErrorMessage Maven / Gradle / Ivy

package io.dropwizard.jersey.validation;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.collect.ImmutableList;

public class ValidationErrorMessage {
    private final ImmutableList errors;

    @JsonCreator
    public ValidationErrorMessage(@JsonProperty("errors") ImmutableList errors) {
        this.errors = errors;
    }

    @JsonProperty
    public ImmutableList getErrors() {
        return errors;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy