swagger updates 01/108001/1
authordhebeha <dhebeha.mj71@wipro.com>
Wed, 20 May 2020 14:31:36 +0000 (20:01 +0530)
committerdhebeha <dhebeha.mj71@wipro.com>
Wed, 20 May 2020 16:54:56 +0000 (22:24 +0530)
Issue-ID: OPTFRA-758
Signed-off-by: dhebeha <dhebeha.mj71@wipro.com>
Change-Id: I9100b80049c2523259890a4a07c0c635318c2fd5

docs/sections/swaggerdoc/oof-osdf-has-api.json

index b2b90a8..aa48e39 100644 (file)
           "$ref": "#/definitions/RequestInfo2"
         },
         "serviceProfile": {
-          "$ref": "#/definitions/ServiceProfile"
+          "$ref": "#/definitions/ServiceProfileNst"
         }
       }
     },
         "blob": "content"
       }
     },
+    "ServiceProfileNst": {
+      "type": "object",
+      "required": [
+          "serviceProfileParameters"
+      ],
+      "properties": {
+        "serviceProfileParameters":{
+          "$ref": "#/definitions/ServiceProfile"
+        }
+      }
+    },
     "SliceProfile": {
       "type": "string",
       "description": "JSON blob. Containing slice profile parameters. The contents are based on 3GPP TS 23.541 Release 16 contents, and will be in the form of attribute value pairs.",
           "type": "string",
           "format": "uuid",
           "description": "Id of NSI"
+        },
+        "NSSIs": {
+          "type": "array",
+          "items": {
+            "$ref": "#/definitions/NSSI"
+          },
+          "description": "A list of NSSIs"
+        },
+      }
+    },
+    "NSSI":{
+      "type": "object",
+      "required": [
+        "NSSIName",
+        "NSSIId",
+        "UUID",
+        "invariantUUID"
+      ],
+      "properties": {
+        "NSSIName": {
+          "type": "string",
+          "description": "Name of NSSI"
+        },
+        "NSSIId": {
+          "type": "string",
+          "description": "Id of NSSI"
+        },
+        "UUID": {
+          "type": "string",
+          "description": "UUID of NSST"
+        },
+        "invariantUUID": {
+          "type": "string",
+          "description": "invariantUUID of NSST"
+        },
+        "sliceProfile": {
+          "type": "array",
+          "items": {
+            "$ref": "#/definitions/SliceProfile"
+          },
+          "description": "list of SliceProfiles",
         }
       }
     },