]> git.proxmox.com Git - pve-common.git/commitdiff
add missing formatter property to method schema
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2015 11:50:06 +0000 (13:50 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 4 Sep 2015 11:50:06 +0000 (13:50 +0200)
src/PVE/JSONSchema.pm

index 32d461cbf6467e6ad7adbdd86b650df79e7f7228..cb2d56e1a08482f8b85016c9cde5b1e3738e6f07 100644 (file)
@@ -967,6 +967,11 @@ my $method_schema = {
            description => "JSON Schema for parameters.",
            optional => 1,
        },
            description => "JSON Schema for parameters.",
            optional => 1,
        },
+        formatter => {
+           type => 'object',
+           description => "Used to store page formatter information (set by PVE::RESTHandler->register_page_formatter).",
+           optional => 1,
+        },
        returns => {
            type => 'object',
            description => "JSON Schema for return value.",
        returns => {
            type => 'object',
            description => "JSON Schema for return value.",