Re: [pve-devel] [PATCH docs 1/7] update static files

2018-09-13 Thread Fabian Grünbichler
On Thu, Sep 13, 2018 at 11:00:42AM +0200, Dietmar Maurer wrote: > Found the bug myself. We currently simply use the full 'returns' type > property. Insead, we can compress that like we do for parameters: > > any objections? looks good to me! > > patch for pve-common: > > diff --git

Re: [pve-devel] [PATCH docs 1/7] update static files

2018-09-13 Thread Thomas Lamprecht
On 9/13/18 11:00 AM, Dietmar Maurer wrote: > Found the bug myself. We currently simply use the full 'returns' type > property. Insead, we can compress that like we do for parameters: > > any objections? > > patch for pve-common: > > diff --git a/src/PVE/RESTHandler.pm b/src/PVE/RESTHandler.pm

Re: [pve-devel] [PATCH docs 1/7] update static files

2018-09-13 Thread Dietmar Maurer
Found the bug myself. We currently simply use the full 'returns' type property. Insead, we can compress that like we do for parameters: any objections? patch for pve-common: diff --git a/src/PVE/RESTHandler.pm b/src/PVE/RESTHandler.pm index ed76863..ebb0de3 100644 --- a/src/PVE/RESTHandler.pm

Re: [pve-devel] [PATCH docs 1/7] update static files

2018-09-13 Thread Dietmar Maurer
apidata.js looks strange??? + "net27" : { + "description" : "Specify network devices.", + "format" : { we already have net[n] there.