From: Swaraj Kumar Date: Fri, 18 Oct 2024 06:15:25 +0000 (+0530) Subject: Swagger file:components for mme X-Git-Tag: 4.0.0~23 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F63%2F13663%2F1;p=aiml-fw%2Fawmf%2Fmodelmgmtservice.git Swagger file:components for mme Change-Id: I46fcc486cc28853e757430096c6fb4b20001852a Signed-off-by: Swaraj Kumar --- diff --git a/API_docs/mme.yaml b/API_docs/mme.yaml index cb5e070..4360549 100644 --- a/API_docs/mme.yaml +++ b/API_docs/mme.yaml @@ -195,4 +195,44 @@ paths: type: string format: binary '500': - description: Internal Server Error \ No newline at end of file + description: Internal Server Error + +components: + schemas: + Metadata: + type: object + properties: + author: + type: string + example: "John Doe" + + ModelID: + type: object + properties: + modelName: + type: string + example: "example-model" + modelVersion: + type: string + example: "v1.0" + + ModelSpec: + type: object + properties: + metadata: + $ref: '#/components/schemas/Metadata' + + ModelInfo: + type: object + properties: + id: + type: string + example: "123e4567-e89b-12d3-a456-426614174000" + model-id: + $ref: '#/components/schemas/ModelID' + description: + type: string + example: "This is an example model description." + meta-info: + $ref: '#/components/schemas/ModelSpec' +