feat(swagger): update swagger (#12636)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
localai-org-maint-botandmudler authored and GitHub committed 2026-10-11 22:12:53 +02:00
1 parent 8a03ce7f6c
commit 87cada8ae1
3 files changed
+17 -5

No files matched your search

+6 -2
View File
@@ -3756,9 +3756,10 @@ const docTemplate = `{
},
{
"type": "integer",
"description": "Upscale factor: 2 or 4 (default 2)",
"description": "Upscale factor: integer from 1 to 16; must match the model native scale",
"name": "scale",
"in": "formData"
"in": "formData",
"required": true
}
],
"responses": {
@@ -7242,6 +7243,9 @@ const docTemplate = `{
"items": {
"$ref": "#/definitions/schema.ThreeDOperation"
}
},
"upscale_scale": {
"type": "integer"
}
}
},
+6 -2
View File
@@ -3753,9 +3753,10 @@
},
{
"type": "integer",
"description": "Upscale factor: 2 or 4 (default 2)",
"description": "Upscale factor: integer from 1 to 16; must match the model native scale",
"name": "scale",
"in": "formData"
"in": "formData",
"required": true
}
],
"responses": {
@@ -7239,6 +7240,9 @@
"items": {
"$ref": "#/definitions/schema.ThreeDOperation"
}
},
"upscale_scale": {
"type": "integer"
}
}
},
+5 -1
View File
@@ -1947,6 +1947,8 @@ definitions:
items:
$ref: '#/definitions/schema.ThreeDOperation'
type: array
upscale_scale:
type: integer
type: object
schema.ModelCapabilitiesResponse:
properties:
@@ -6203,9 +6205,11 @@ paths:
name: image
required: true
type: file
- description: 'Upscale factor: 2 or 4 (default 2)'
- description: 'Upscale factor: integer from 1 to 16; must match the model native
scale'
in: formData
name: scale
required: true
type: integer
produces:
- application/json