From 6e2ec74c61155c0123f6df166064c1dec4b1c50b Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 25 May 2023 09:21:56 +0000 Subject: [PATCH] Add API for custom onboard Added API in swagger to introduce custom onabord with `experimental` tag. This change is introduced in context of integration of `KSERVE adapter`. Issue-ID: RIC-955 Signed-off-by: subhash kumar singh Change-Id: I05bb6dd34604f6008045cb798517f10db1c28bae --- api/ric-dms-api-2.0.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/ric-dms-api-2.0.yaml b/api/ric-dms-api-2.0.yaml index f9e8434..6348b6a 100644 --- a/api/ric-dms-api-2.0.yaml +++ b/api/ric-dms-api-2.0.yaml @@ -27,6 +27,21 @@ host: localhost:8000 schemes: - http paths: + /custom-onboard: + post: + summary: upload a file + consumes: + - multipart/form-data + parameters: + - in: formData + name: upfile + type: file + description: api to upload file + responses: + '200': + description: successfully uploaded + tags: + - experiment /charts: get: produces: -- 2.16.6