From: Costa Tsaousis (ktsaou) Date: Thu, 14 Jan 2016 23:05:12 +0000 (+0200) Subject: fix for editor X-Git-Tag: v1.0rc~74 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=436c92f2ba7aaec45a4424d6bf58598d7c6cc862;p=netdata.git fix for editor --- diff --git a/web/netdata-swagger.yaml b/web/netdata-swagger.yaml index bb1a0bcb..26dae368 100755 --- a/web/netdata-swagger.yaml +++ b/web/netdata-swagger.yaml @@ -113,7 +113,6 @@ paths: type: string enum: [ 'nonzero', 'flip', 'jsonwrap', 'min2max', 'seconds', 'milliseconds', 'abs', 'absolute', 'absolute-sum', 'null2zero', 'objectrows', 'google_json', 'percentage' ] collectionFormat: pipes - format: '' default: seconds|jsonwrap allowEmptyValue: false - name: callback @@ -121,18 +120,19 @@ paths: description: 'For JSONP responses, the callback function name.' required: false type: string - allowEmptyValue: false + allowEmptyValue: true - name: filename in: query description: 'Add Content-Disposition: attachment; filename= header to the response, that will instruct the browser to save the response with the given filename.' required: false type: string - allowEmptyValue: false + allowEmptyValue: true - name: tqx in: query description: '[Google Visualization API](https://developers.google.com/chart/interactive/docs/dev/implementing_data_source?hl=en) formatted parameter.' required: false type: string + allowEmptyValue: true responses: '200': description: 'The call was successful. The response should include the data.'