META-INF.constraints-vavr.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vavr-beanvalidation2 Show documentation
Show all versions of vavr-beanvalidation2 Show documentation
Integrates vavr with bean validation 2.x frameworks (JSR 380)
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <constraint-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/validation/mapping" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/validation/mapping http://xmlns.jcp.org/xml/ns/validation/mapping/validation-mapping-2.0.xsd" version="2.0"> <constraint-definition annotation="javax.validation.constraints.Size"> <validated-by include-existing-validators="true"> <value>io.vavr.beanvalidation2.constraintvalidators.SizeValidatorForTraversable</value> </validated-by> </constraint-definition> <constraint-definition annotation="javax.validation.constraints.NotEmpty"> <validated-by include-existing-validators="true"> <value>io.vavr.beanvalidation2.constraintvalidators.NotEmptyValidatorForValue</value> </validated-by> </constraint-definition> </constraint-mappings>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy