X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=extractapi.pl;h=2144f17b95de4e1fc0a73445eb7877ea13b406a0;hb=81de7382b02c0a78a8a1e83bac6b30b39d4baa6b;hp=06d6af4cb2cabe8bbdf514ed03046879bf53c15b;hpb=04222b448b9b154d8bc16e7334ef981adbe3db1f;p=pve-docs.git diff --git a/extractapi.pl b/extractapi.pl index 06d6af4..2144f17 100755 --- a/extractapi.pl +++ b/extractapi.pl @@ -10,6 +10,6 @@ use JSON; my $tree = PVE::RESTHandler::api_dump_remove_refs(PVE::RESTHandler::api_dump('PVE::API2')); -print "var pveapi = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n"; +print "const apiSchema = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n"; exit(0);