]> git.proxmox.com Git - pve-docs.git/blame_incremental - extractapi.pl
fix #5429: network: override device names: include Type=ether
[pve-docs.git] / extractapi.pl
... / ...
CommitLineData
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5
6use PVE::RESTHandler;
7use PVE::API2;
8use JSON;
9
10
11my $tree = PVE::RESTHandler::api_dump_remove_refs(PVE::RESTHandler::api_dump('PVE::API2'));
12
13print "const apiSchema = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n";
14
15exit(0);