[pve-devel] applied: [pve-common 1/4] JSONSchema: define 'renderer' property
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jul 3 13:40:12 CEST 2018
On 7/2/18 1:34 PM, Dietmar Maurer wrote:
> Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
> ---
> src/PVE/JSONSchema.pm | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm
> index f0ac441..793ec60 100644
> --- a/src/PVE/JSONSchema.pm
> +++ b/src/PVE/JSONSchema.pm
> @@ -1081,6 +1081,11 @@ my $default_schema_noref = {
> optional => 1,
> description => "This provides the title of the property",
> },
> + renderer => {
> + type => "string",
> + optional => 1,
> + description => "This is used to provide rendering hints to format cli command output.",
> + },
> requires => {
> type => [ "string", "object" ],
> optional => 1,
>
applied series, with v2 for 2/4, thanks!
More information about the pve-devel
mailing list