X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=extractapi.pl;h=afd2cf12068714480a0c472ae2a22a368547b3b8;hp=0488ea940ad54ed6802e098a98278f0c17c61301;hb=c7678c11fd51ef56a7dad30a355024c2cf2acfca;hpb=61568a650e854d54d5c1920d305ac46aa9d47d04 diff --git a/extractapi.pl b/extractapi.pl index 0488ea9..afd2cf1 100755 --- a/extractapi.pl +++ b/extractapi.pl @@ -39,6 +39,6 @@ sub cleanup_tree { my $tree = cleanup_tree(PVE::RESTHandler::api_dump('PVE::API2')); -print "var pveapi = " . to_json($tree, {pretty => 1}) . ";\n\n"; +print "var pveapi = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n"; exit(0);