From 91aacb8de756c9d7d9af1151c321542fa197513e Mon Sep 17 00:00:00 2001 From: mudler <2420543+mudler@users.noreply.github.com> Date: Fri, 8 May 2026 20:20:42 +0000 Subject: [PATCH] feat(swagger): update swagger Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@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 9ff4fb11124e..0b1b0514d682 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 f4c669ff8c3b..65047fe86a87 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 1f06587b15d0..21635924020d 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").