Fix for validator using wrong property for list determination when parsing json
This commit is contained in:
parent
f0e14a60f7
commit
2a37fb9351
|
@ -280,7 +280,7 @@ public class Property {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isList() {
|
public boolean isList() {
|
||||||
return !"1".equals(definition.getMax());
|
return !"1".equals(definition.getBase().hasMax() ? definition.getBase().getMax() : definition.getMax());
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBaseList() {
|
public boolean isBaseList() {
|
||||||
|
|
Loading…
Reference in New Issue