From 624fa946f84cacee7ba984236cefc66ec9334683 Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Fri, 8 May 2026 23:44:55 +0200 Subject: [PATCH] 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> --- swagger/docs.go | 4 ++++ swagger/swagger.json | 4 ++++ swagger/swagger.yaml | 5 +++++ 3 files changed, 13 insertions(+) diff --git a/swagger/docs.go b/swagger/docs.go index 9ff4fb111..0b1b0514d 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -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" diff --git a/swagger/swagger.json b/swagger/swagger.json index f4c669ff8..65047fe86 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -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" diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 1f06587b1..216359240 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -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").