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").