Fix for validator using wrong property for list determination when parsing json

This commit is contained in:
Grahame Grieve 2024-07-16 06:15:32 +08:00
parent f0e14a60f7
commit 2a37fb9351
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ public class Property {
}
public boolean isList() {
return !"1".equals(definition.getMax());
return !"1".equals(definition.getBase().hasMax() ? definition.getBase().getMax() : definition.getMax());
}
public boolean isBaseList() {