lib/jsonschema: render defaults for submodule options

this relaxes the constraint that options of type `submodule` are always
required, and will render benign default values.
This commit is contained in:
Valentin Gagarin
2025-04-16 16:44:56 +02:00
committed by Valentin Gagarin
parent 15fe06fbf5
commit af7915a564
4 changed files with 41 additions and 2 deletions

View File

@@ -324,6 +324,7 @@ in
};
};
};
default = { };
};
};
@@ -354,6 +355,7 @@ in
};
};
};
default = { };
required = [ "opt" ];
};
};