mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-11-07 04:23:43 +03:00
api-viewer: adapt to changes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@@ -10,6 +10,6 @@ use JSON;
|
||||
|
||||
my $tree = PVE::RESTHandler::api_dump_remove_refs(PVE::RESTHandler::api_dump('PVE::API2'));
|
||||
|
||||
print "var pmxapi = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n";
|
||||
print "const apiSchema = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n";
|
||||
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user