@@ -195,7 +195,7 @@ const docTemplate = `{
195195 "schema": {
196196 "type": "object",
197197 "additionalProperties": {
198- "$ref": "#/definitions/services.GalleryOpStatus "
198+ "$ref": "#/definitions/galleryop.OpStatus "
199199 }
200200 }
201201 }
@@ -209,7 +209,7 @@ const docTemplate = `{
209209 "200": {
210210 "description": "Response",
211211 "schema": {
212- "$ref": "#/definitions/services.GalleryOpStatus "
212+ "$ref": "#/definitions/galleryop.OpStatus "
213213 }
214214 }
215215 }
@@ -319,7 +319,7 @@ const docTemplate = `{
319319 "schema": {
320320 "type": "object",
321321 "additionalProperties": {
322- "$ref": "#/definitions/services.GalleryOpStatus "
322+ "$ref": "#/definitions/galleryop.OpStatus "
323323 }
324324 }
325325 }
@@ -333,7 +333,7 @@ const docTemplate = `{
333333 "200": {
334334 "description": "Response",
335335 "schema": {
336- "$ref": "#/definitions/services.GalleryOpStatus "
336+ "$ref": "#/definitions/galleryop.OpStatus "
337337 }
338338 }
339339 }
@@ -1055,7 +1055,7 @@ const docTemplate = `{
10551055 },
10561056 "parameters": {
10571057 "type": "object",
1058- "additionalProperties": true
1058+ "additionalProperties": {}
10591059 },
10601060 "strict": {
10611061 "type": "boolean"
@@ -1067,7 +1067,7 @@ const docTemplate = `{
10671067 "properties": {
10681068 "properties": {
10691069 "type": "object",
1070- "additionalProperties": true
1070+ "additionalProperties": {}
10711071 },
10721072 "type": {
10731073 "type": "string"
@@ -1079,7 +1079,7 @@ const docTemplate = `{
10791079 "properties": {
10801080 "$defs": {
10811081 "type": "object",
1082- "additionalProperties": true
1082+ "additionalProperties": {}
10831083 },
10841084 "anyOf": {
10851085 "type": "array",
@@ -1207,7 +1207,7 @@ const docTemplate = `{
12071207 "config_file": {
12081208 "description": "config_file is read in the situation where URL is blank - and therefore this is a base config.",
12091209 "type": "object",
1210- "additionalProperties": true
1210+ "additionalProperties": {}
12111211 },
12121212 "description": {
12131213 "type": "string"
@@ -1243,7 +1243,7 @@ const docTemplate = `{
12431243 "overrides": {
12441244 "description": "Overrides are used to override the configuration of the model located at URL",
12451245 "type": "object",
1246- "additionalProperties": true
1246+ "additionalProperties": {}
12471247 },
12481248 "size": {
12491249 "description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
@@ -1266,6 +1266,45 @@ const docTemplate = `{
12661266 }
12671267 }
12681268 },
1269+ "galleryop.OpStatus": {
1270+ "type": "object",
1271+ "properties": {
1272+ "cancellable": {
1273+ "description": "Cancellable is true if the operation can be cancelled",
1274+ "type": "boolean"
1275+ },
1276+ "cancelled": {
1277+ "description": "Cancelled is true if the operation was cancelled",
1278+ "type": "boolean"
1279+ },
1280+ "deletion": {
1281+ "description": "Deletion is true if the operation is a deletion",
1282+ "type": "boolean"
1283+ },
1284+ "downloaded_size": {
1285+ "type": "string"
1286+ },
1287+ "error": {},
1288+ "file_name": {
1289+ "type": "string"
1290+ },
1291+ "file_size": {
1292+ "type": "string"
1293+ },
1294+ "gallery_element_name": {
1295+ "type": "string"
1296+ },
1297+ "message": {
1298+ "type": "string"
1299+ },
1300+ "processed": {
1301+ "type": "boolean"
1302+ },
1303+ "progress": {
1304+ "type": "number"
1305+ }
1306+ }
1307+ },
12691308 "localai.GalleryBackend": {
12701309 "type": "object",
12711310 "properties": {
@@ -1284,7 +1323,7 @@ const docTemplate = `{
12841323 "config_file": {
12851324 "description": "config_file is read in the situation where URL is blank - and therefore this is a base config.",
12861325 "type": "object",
1287- "additionalProperties": true
1326+ "additionalProperties": {}
12881327 },
12891328 "description": {
12901329 "type": "string"
@@ -1323,7 +1362,7 @@ const docTemplate = `{
13231362 "overrides": {
13241363 "description": "Overrides are used to override the configuration of the model located at URL",
13251364 "type": "object",
1326- "additionalProperties": true
1365+ "additionalProperties": {}
13271366 },
13281367 "size": {
13291368 "description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
@@ -1419,7 +1458,7 @@ const docTemplate = `{
14191458 },
14201459 "input": {
14211460 "type": "object",
1422- "additionalProperties": true
1461+ "additionalProperties": {}
14231462 },
14241463 "is_error": {
14251464 "type": "boolean"
@@ -1555,7 +1594,7 @@ const docTemplate = `{
15551594 },
15561595 "input_schema": {
15571596 "type": "object",
1558- "additionalProperties": true
1597+ "additionalProperties": {}
15591598 },
15601599 "name": {
15611600 "type": "string"
@@ -2071,7 +2110,7 @@ const docTemplate = `{
20712110 },
20722111 "parameters": {
20732112 "type": "object",
2074- "additionalProperties": true
2113+ "additionalProperties": {}
20752114 },
20762115 "strict": {
20772116 "description": "Always include in response",
@@ -2989,45 +3028,6 @@ const docTemplate = `{
29893028 "type": "integer"
29903029 }
29913030 }
2992- },
2993- "services.GalleryOpStatus": {
2994- "type": "object",
2995- "properties": {
2996- "cancellable": {
2997- "description": "Cancellable is true if the operation can be cancelled",
2998- "type": "boolean"
2999- },
3000- "cancelled": {
3001- "description": "Cancelled is true if the operation was cancelled",
3002- "type": "boolean"
3003- },
3004- "deletion": {
3005- "description": "Deletion is true if the operation is a deletion",
3006- "type": "boolean"
3007- },
3008- "downloaded_size": {
3009- "type": "string"
3010- },
3011- "error": {},
3012- "file_name": {
3013- "type": "string"
3014- },
3015- "file_size": {
3016- "type": "string"
3017- },
3018- "gallery_element_name": {
3019- "type": "string"
3020- },
3021- "message": {
3022- "type": "string"
3023- },
3024- "processed": {
3025- "type": "boolean"
3026- },
3027- "progress": {
3028- "type": "number"
3029- }
3030- }
30313031 }
30323032 },
30333033 "securityDefinitions": {
0 commit comments