]> git.proxmox.com Git - pve-docs.git/blame - extractapi.pl
storage: pbs: document port option
[pve-docs.git] / extractapi.pl
CommitLineData
04222b44 1#!/usr/bin/perl
61568a65
DM
2
3use strict;
04222b44
DM
4use warnings;
5
61568a65
DM
6use PVE::RESTHandler;
7use PVE::API2;
8use JSON;
9
61568a65 10
04222b44 11my $tree = PVE::RESTHandler::api_dump_remove_refs(PVE::RESTHandler::api_dump('PVE::API2'));
61568a65 12
1f79cc8c 13print "const apiSchema = " . to_json($tree, {pretty => 1, canonical => 1}) . ";\n\n";
61568a65
DM
14
15exit(0);