feat(swagger): update swagger (#9723)

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 [bot]
2026-05-08 23:44:55 +02:00
committed by GitHub
parent 1f313cfdb0
commit 624fa946f8
3 changed files with 13 additions and 0 deletions

View File

@@ -3078,6 +3078,10 @@ const docTemplate = `{
"name": {
"type": "string"
},
"sha256": {
"description": "SHA256 is the expected sha256 of the backend tarball at URI / Mirrors.\nEmpty disables the integrity check; OCI URIs carry their own digest.",
"type": "string"
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"

View File

@@ -3075,6 +3075,10 @@
"name": {
"type": "string"
},
"sha256": {
"description": "SHA256 is the expected sha256 of the backend tarball at URI / Mirrors.\nEmpty disables the integrity check; OCI URIs carry their own digest.",
"type": "string"
},
"size": {
"description": "Size is an optional hardcoded model size string (e.g. \"500MB\", \"14.5GB\").\nUsed when the size cannot be estimated automatically.",
"type": "string"

View File

@@ -94,6 +94,11 @@ definitions:
type: array
name:
type: string
sha256:
description: |-
SHA256 is the expected sha256 of the backend tarball at URI / Mirrors.
Empty disables the integrity check; OCI URIs carry their own digest.
type: string
size:
description: |-
Size is an optional hardcoded model size string (e.g. "500MB", "14.5GB").