com.github.phillipkruger.apiee.providers.ValidationErrors Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apiee-providers Show documentation
Show all versions of apiee-providers Show documentation
Some general Exception mappers
package com.github.phillipkruger.apiee.providers;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Simple POJO that defines a list of errors
* @author Phillip Kruger ([email protected])
*/
@Data
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
@AllArgsConstructor @NoArgsConstructor
public class ValidationErrors {
@XmlElementRef(type = ValidationError.class)
@NotNull
private List validationError = new ArrayList<>();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy