mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 09:44:24 +00:00
Render @MinItems as minItems in studio's module settings schema
This commit is contained in:
1 parent
2775a4965b
commit
f3619e1c30
3 files changed
+18
No files matched your search
@@ -177,6 +177,7 @@ final class ModuleSchemaRenderer {
|
||||
}
|
||||
option.minimum().ifPresent(minimum -> property.put("minimum", minimum));
|
||||
option.maximum().ifPresent(maximum -> property.put("maximum", maximum));
|
||||
option.minItems().ifPresent(minItems -> property.put("minItems", minItems));
|
||||
option.defaultValue().ifPresent(value -> property.put("default", JSONObject.wrap(value)));
|
||||
return property;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user