mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-10-22 23:33:10 +03:00
using the new top-level `make tidy` target, which calls perltidy via our wrapper to enforce the desired style as closely as possible. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 lines
283 B
Perl
Executable File
15 lines
283 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use PVE::RESTHandler;
|
|
use PVE::API2;
|
|
use JSON;
|
|
|
|
my $tree = PVE::RESTHandler::api_dump_remove_refs(PVE::RESTHandler::api_dump('PVE::API2'));
|
|
|
|
print "const apiSchema = " . to_json($tree, { pretty => 1, canonical => 1 }) . ";\n\n";
|
|
|
|
exit(0);
|