From 80c9b8f1e20162f212e4869e52c2cb13e2dc7ac2 Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 11:44:30 +0530 Subject: [PATCH] Swagger file:download model for mme Change-Id: Idceb2af2e0993ac0b707f53542aef37ee7e6a3b1 Signed-off-by: Swaraj Kumar --- API_docs/mme.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/API_docs/mme.yaml b/API_docs/mme.yaml index a3c8a10..cb5e070 100644 --- a/API_docs/mme.yaml +++ b/API_docs/mme.yaml @@ -173,3 +173,26 @@ paths: example: "Model uploaded successfully." '500': description: Internal Server Error + + /downloadModel/{modelName}/model.zip: + get: + tags: + - Model Management + summary: Download a specific model version as a ZIP file + operationId: downloadModel + parameters: + - name: modelName + in: path + required: true + schema: + type: string + responses: + '200': + description: Model downloaded successfully + content: + application/octet-stream: + schema: + type: string + format: binary + '500': + description: Internal Server Error \ No newline at end of file -- 2.16.6