aboutsummaryrefslogtreecommitdiffstats
path: root/docs/offeredapis/api_serviceInventory
diff options
context:
space:
mode:
authoraosull01 <adrian.osullivan@huawei.com>2020-01-14 07:38:31 +0000
committeraosull01 <adrian.osullivan@huawei.com>2020-01-14 07:38:31 +0000
commit2ebe57db71ea6515ad86cf9264864278143e4fcd (patch)
tree2786e153a19a55442067d655dd06c1e93fd517bd /docs/offeredapis/api_serviceInventory
parent74474544e4e3013c582ca5579a0088c40dacc0e5 (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_serviceInventory')
-rw-r--r--docs/offeredapis/api_serviceInventory/swagger.json8
-rw-r--r--docs/offeredapis/api_serviceInventory/swagger.yaml13
2 files changed, 14 insertions, 7 deletions
diff --git a/docs/offeredapis/api_serviceInventory/swagger.json b/docs/offeredapis/api_serviceInventory/swagger.json
index 47e7610..c3a3bde 100644
--- a/docs/offeredapis/api_serviceInventory/swagger.json
+++ b/docs/offeredapis/api_serviceInventory/swagger.json
@@ -3,7 +3,7 @@
"swagger": "2.0",
"info": {
"description": "Query information about instantiated services\n\nList of available subscription for serviceInventory notifications, see /hub resources for more information:\n\n- ServiceCreationNotification\n- ServiceAttributeValueChangeNotification\n- ServiceRemoveNotification\n\n",
- "version": "4.0.1",
+ "version": "4.1.0",
"title": "ServiceInventory API",
"contact": {
"name": "ONAP",
@@ -42,6 +42,10 @@
}
],
"paths": {
+ "x-interface": {
+ "api-version": "4.1.0",
+ "last-mod-release": "Frankfurt"
+ },
"/service": {
"get": {
"tags": [
@@ -188,7 +192,7 @@
"definitions": {
"eventType": {
- "description": "",
+ "description": "The Event Type",
"type": "string",
"enum": [
diff --git a/docs/offeredapis/api_serviceInventory/swagger.yaml b/docs/offeredapis/api_serviceInventory/swagger.yaml
index f783679..5d38da3 100644
--- a/docs/offeredapis/api_serviceInventory/swagger.yaml
+++ b/docs/offeredapis/api_serviceInventory/swagger.yaml
@@ -17,7 +17,7 @@ info:
\ subscription for serviceInventory notifications, see /hub resources for more\
\ information:\n\n- ServiceCreationNotification\n- ServiceAttributeValueChangeNotification\n\
- ServiceRemoveNotification\n\n"
- version: "4.0.1"
+ version: "4.1.0"
title: "ServiceInventory API"
contact:
name: "ONAP"
@@ -44,6 +44,9 @@ tags:
description: "provided by subscriber, which MUST has been registered by creating\
\ a Hub ressource on NBI"
paths:
+ x-interface:
+ api-version: "4.1.0"
+ last-mod-release: "Frankfurt"
/service:
get:
tags:
@@ -83,7 +86,7 @@ paths:
description: ""
type: "string"
responses:
- 200:
+ "200":
description: "Ok"
schema:
type: "array"
@@ -106,7 +109,7 @@ paths:
in: "path"
type: "string"
responses:
- 200:
+ "200":
description: "Ok"
schema:
$ref: "#/definitions/Service"
@@ -130,13 +133,13 @@ paths:
schema:
$ref: "#/definitions/Notification"
responses:
- 201:
+ "201":
description: "Created"
schema:
$ref: "#/definitions/Notification"
definitions:
eventType:
- description: ""
+ description: "The Event Type"
type: "string"
enum:
- "ServiceCreationNotification"