aboutsummaryrefslogtreecommitdiffstats
path: root/docs/offeredapis/api_serviceOrder/swagger.yaml
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_serviceOrder/swagger.yaml
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_serviceOrder/swagger.yaml')
-rw-r--r--docs/offeredapis/api_serviceOrder/swagger.yaml19
1 files changed, 11 insertions, 8 deletions
diff --git a/docs/offeredapis/api_serviceOrder/swagger.yaml b/docs/offeredapis/api_serviceOrder/swagger.yaml
index 0ab06bc..fa8dfeb 100644
--- a/docs/offeredapis/api_serviceOrder/swagger.yaml
+++ b/docs/offeredapis/api_serviceOrder/swagger.yaml
@@ -22,7 +22,7 @@ info:
\ available subscription for serviceOrdering notifications, see /hub resources\
\ for more information:\n\n- ServiceOrderCreationNotification\n- ServiceOrderStateChangeNotification\n\
- ServiceOrderItemStateChangeNotification\n\n"
- version: "4.0.1"
+ version: "4.1.0"
title: "ServiceOrder API"
contact:
name: "ONAP"
@@ -48,6 +48,9 @@ tags:
- name: "Notification"
description: "provided by subscribers, which MUST registered by creating a hub resource"
paths:
+ x-interface:
+ api-version: "4.1.0"
+ last-mod-release: "Frankfurt"
/serviceOrder:
post:
tags:
@@ -87,7 +90,7 @@ paths:
description: ""
type: "string"
responses:
- 201:
+ "201":
description: "Created"
schema:
$ref: "#/definitions/ServiceOrder"
@@ -149,7 +152,7 @@ paths:
type: "integer"
format: "int32"
responses:
- 200:
+ "200":
description: "Ok"
schema:
type: "array"
@@ -192,7 +195,7 @@ paths:
description: ""
type: "string"
responses:
- 200:
+ "200":
description: "Ok"
schema:
$ref: "#/definitions/ServiceOrder"
@@ -248,7 +251,7 @@ paths:
description: ""
type: "string"
responses:
- 201:
+ "201":
description: "Created"
schema:
$ref: "#/definitions/Notification"
@@ -281,20 +284,20 @@ definitions:
enum:
- "reliesOn"
EventType:
- description: ""
+ description: "The Type of Event"
type: "string"
enum:
- "ServiceOrderCreationNotification"
- "ServiceOrderStateChangeNotification"
- "ServiceOrderItemStateChangeNotification"
SeverityMessage:
- description: ""
+ description: "Enum for Message, information or error"
type: "string"
enum:
- "information"
- "error"
Error:
- description: ""
+ description: "Error code and reason"
required:
- "code"
- "reason"