X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=src%2FPVE%2FJSONSchema.pm;h=ed1813d3bb2a66b4d2f41cc33a58f05acaa020a7;hp=c925ecbad664164e4670d51e2a5002fa48d0725e;hb=7829989f5e2abfe18afc31bcae2df3c02674f6d5;hpb=791000409ff3432e3a60590950bfef2cb899aedd diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index c925ecb..ed1813d 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -817,6 +817,11 @@ my $default_schema_noref = { optional => 1, description => "This indicates the default for the instance property." }, + completion => { + type => 'coderef', + description => "Bash completion function. This function should return a list of possible values.", + optional => 1, + }, disallow => { type => "object", optional => 1,