Skip to content

Commit

Permalink
json schema constraints added
Browse files Browse the repository at this point in the history
  • Loading branch information
miho committed Aug 12, 2024
1 parent eb5f5fc commit 14bcfca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ private void addConstraint(Property property, Map<String, Object> propertySchema
try {
var constraints = property.annotations().stream()
.filter(a -> a.getKey().equals("vmf:jackson:schema:constraint"))
.map(a->a.getValue()).collect(Collectors.toList());
.map(Annotation::getValue).collect(Collectors.toList());


for(String constraint : constraints) {
Expand Down

0 comments on commit 14bcfca

Please sign in to comment.