From: Swaraj Kumar Date: Fri, 18 Oct 2024 06:10:52 +0000 (+0530) Subject: Swagger file:get model info for mme X-Git-Tag: 4.0.0~27 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F13659%2F1;p=aiml-fw%2Fawmf%2Fmodelmgmtservice.git Swagger file:get model info for mme Change-Id: Iff381a8189a32b2844aebc3334e00c93e78f929a Signed-off-by: Swaraj Kumar --- 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