Add API for custom onboard 21/11221/1
authorsubhash kumar singh <subh.singh@samsung.com>
Thu, 25 May 2023 09:21:56 +0000 (09:21 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Thu, 25 May 2023 09:21:56 +0000 (09:21 +0000)
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 <subh.singh@samsung.com>
Change-Id: I05bb6dd34604f6008045cb798517f10db1c28bae

api/ric-dms-api-2.0.yaml

index f9e8434..6348b6a 100644 (file)
@@ -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: