updated to latest yaml
Costa Tsaousis (ktsaou) committed
Jan 15, 2016 at 01:13 UTC
f83f33bc7beecdb3f7905fd69304ebd74c04625b
1 file changed
+14
-10
web/netdata-swagger.json
+14
-10
@@ -104,7 +104,6 @@
104
"required": false,
105
"type": "number",
106
"format": "integer",
107
- "allowEmptyValue": false,
107
"default": 0
108
},
109
{
@@ -147,7 +146,8 @@
146
"datatable",
147
"datasource",
148
"html",
150
- "array"
149
+ "array",
150
+ "csvjsonarray"
151
],
152
"default": "json",
153
"allowEmptyValue": false
@@ -172,12 +172,15 @@
172
"absolute-sum",
173
"null2zero",
174
"objectrows",
175
- "google_json"
175
+ "google_json",
176
+ "percentage"
177
],
177
- "collectionFormat": "pipes",
178
- "format": ""
178
+ "collectionFormat": "pipes"
179
},
180
- "default": "seconds|jsonwrap",
180
+ "default": [
181
+ "seconds",
182
+ "jsonwrap"
183
+ ],
184
"allowEmptyValue": false
185
},
186
{
@@ -186,7 +189,7 @@
189
"description": "For JSONP responses, the callback function name.",
190
"required": false,
191
"type": "string",
189
- "allowEmptyValue": false
192
+ "allowEmptyValue": true
193
},
194
{
195
"name": "filename",
@@ -194,14 +197,15 @@
197
"description": "Add Content-Disposition: attachment; filename=<filename> header to the response, that will instruct the browser to save the response with the given filename.",
198
"required": false,
199
"type": "string",
197
- "allowEmptyValue": false
200
+ "allowEmptyValue": true
201
},
202
{
203
"name": "tqx",
204
"in": "query",
205
"description": "[Google Visualization API](https://developers.google.com/chart/interactive/docs/dev/implementing_data_source?hl=en) formatted parameter.",
206
"required": false,
204
- "type": "string"
207
+ "type": "string",
208
+ "allowEmptyValue": true
209
}
210
],
211
"responses": {
@@ -424,4 +428,4 @@
428
}
429
}
430
}
427
-}
431
+}
\ No newline at end of file