From 4af692da201b48aae94858519df7d809382fafbc Mon Sep 17 00:00:00 2001 From: dhebeha Date: Wed, 20 May 2020 20:01:36 +0530 Subject: swagger updates Issue-ID: OPTFRA-758 Signed-off-by: dhebeha Change-Id: I9100b80049c2523259890a4a07c0c635318c2fd5 --- docs/sections/swaggerdoc/oof-osdf-has-api.json | 54 +++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) (limited to 'docs/sections/swaggerdoc') diff --git a/docs/sections/swaggerdoc/oof-osdf-has-api.json b/docs/sections/swaggerdoc/oof-osdf-has-api.json index b2b90a8..aa48e39 100644 --- a/docs/sections/swaggerdoc/oof-osdf-has-api.json +++ b/docs/sections/swaggerdoc/oof-osdf-has-api.json @@ -1286,7 +1286,7 @@ "$ref": "#/definitions/RequestInfo2" }, "serviceProfile": { - "$ref": "#/definitions/ServiceProfile" + "$ref": "#/definitions/ServiceProfileNst" } } }, @@ -1377,6 +1377,17 @@ "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.", @@ -1587,6 +1598,47 @@ "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", } } }, -- cgit 1.2.3-korg