From 0177d07535da69798b99d634191c76d701de3a63 Mon Sep 17 00:00:00 2001 From: Swaraj Kumar Date: Fri, 18 Oct 2024 11:40:52 +0530 Subject: [PATCH] Swagger file:get model info for mme Change-Id: Iff381a8189a32b2844aebc3334e00c93e78f929a Signed-off-by: Swaraj Kumar --- API_docs/mme.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/API_docs/mme.yaml b/API_docs/mme.yaml index fc9ec58..2c34ebf 100644 --- a/API_docs/mme.yaml +++ b/API_docs/mme.yaml @@ -36,3 +36,36 @@ paths: description: Invalid request, bad input data '500': description: Internal Server Error + + /getModelInfo: + get: + tags: + - Model Management + summary: Get a list of models or search by modelName and modelVersion + operationId: getModelInfo + parameters: + - name: modelName + in: query + description: Model name to search + required: false + schema: + type: string + - name: modelVersion + in: query + description: Model version to search + required: false + schema: + type: string + responses: + '200': + description: A list of models or filtered search results + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ModelInfo' + '400': + description: Invalid query parameters + '500': + description: Internal Server Error -- 2.16.6