mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-28 17:18:49 -04:00
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:
1 parent
8a03ce7f6c
commit
87cada8ae1
3 files changed
+17
-5
No files matched your search
+6
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user