diff options
author | aosull01 <adrian.osullivan@huawei.com> | 2020-01-14 07:38:31 +0000 |
---|---|---|
committer | aosull01 <adrian.osullivan@huawei.com> | 2020-01-14 07:38:31 +0000 |
commit | 2ebe57db71ea6515ad86cf9264864278143e4fcd (patch) | |
tree | 2786e153a19a55442067d655dd06c1e93fd517bd /docs/offeredapis/api_hub/swagger.json | |
parent | 74474544e4e3013c582ca5579a0088c40dacc0e5 (diff) |
update swagger based on spectral scans
Issue-ID: EXTAPI-378
Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
Change-Id: I3f9b27f67e19f25d92a1383a398a817ab51e8358
Diffstat (limited to 'docs/offeredapis/api_hub/swagger.json')
-rw-r--r-- | docs/offeredapis/api_hub/swagger.json | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/docs/offeredapis/api_hub/swagger.json b/docs/offeredapis/api_hub/swagger.json index 66d18a4..b3a1fde 100644 --- a/docs/offeredapis/api_hub/swagger.json +++ b/docs/offeredapis/api_hub/swagger.json @@ -3,7 +3,7 @@ "swagger": "2.0", "info": { "description": "Provides the ability to subscribe to and unsubscribe from External API notifications.\n\n**Main operation**\n\n```\nPOST /hub\n```\n\nrequest sample 1\n\n```\n{\n \"callback\": \"http://mydomain/notification\",\n \"query\": \"eventType = ServiceOrderCreationNotification\"\n}\n```\n\nrequest sample 2\n\n```\n{\n \"callback\": \"http://mydomain/notification\",\n \"query\": \"eventType=ServiceOrderCreationNotification,ServiceOrderStateChangeNotification\"\n}\n```\n\n**EventType for serviceOrdering**\n\n- ServiceOrderCreationNotification\n- ServiceOrderStateChangeNotification\n- ServiceOrderItemStateChangeNotification\n\n**EventType for serviceInventory**\n\n- ServiceCreationNotification\n- ServiceAttributeValueChangeNotification\n- ServiceRemoveNotification\n\n", - "version": "4.0.1", + "version": "4.1.0", "title": "Hub API", "contact": { "name": "ONAP", @@ -38,6 +38,10 @@ } ], "paths": { + "x-interface": { + "api-version": "4.1.0", + "last-mod-release": "Frankfurt" + }, "/hub": { "post": { "tags": [ @@ -165,7 +169,7 @@ "ErrorDetail": { - "description": "", + "description": "Error code and message", "required": [ @@ -197,7 +201,7 @@ }, "Error": { - "description": "", + "description": "Error code and message", "required": [ @@ -236,7 +240,7 @@ }, "HubIn": { - "description": "", + "description": "Hub query and callback", "required": [ @@ -259,7 +263,7 @@ }, "Hub": { - "description": "", + "description": "Hub id, query and callback", "required": [ |