summaryrefslogtreecommitdiffstats
path: root/dataChange/model/src/main/resources/dataChange.20150519.json
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-08-20 11:02:12 -0400
committerDan Timoney <dt5972@att.com>2018-08-20 16:32:28 +0000
commita3f39cee1edbae8c17d96a735a6e2581dd2c7908 (patch)
treec612d5bdc47197d1fa79a07cabe8f8e2e70dfef3 /dataChange/model/src/main/resources/dataChange.20150519.json
parentee94ed012c215863c58f00894a28c38c3b1584b9 (diff)
Update swagger documentation
Re-generated converted swagger doc. Note: ideally, it would be good to generate this on the fly based on Yang model. However, ODL yangtools generates swagger 1.2, and readthedocs needs version 2. Currently we convert this using api-spec-converter tool and store converted version. Tried automating this conversion, which works fine in local compiles but does not work on ONAP Jenkins (tool is node.js based). Change-Id: I3843787ed7cb11f119b2c706305c478fdb223680 Issue-ID: CCSDK-476 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'dataChange/model/src/main/resources/dataChange.20150519.json')
-rw-r--r--dataChange/model/src/main/resources/dataChange.20150519.json22
1 files changed, 9 insertions, 13 deletions
diff --git a/dataChange/model/src/main/resources/dataChange.20150519.json b/dataChange/model/src/main/resources/dataChange.20150519.json
index 128195b52..be17d564b 100644
--- a/dataChange/model/src/main/resources/dataChange.20150519.json
+++ b/dataChange/model/src/main/resources/dataChange.20150519.json
@@ -44,10 +44,10 @@
"(config)key-dataPOST": {
"properties": {
"key-name": {
- "$ref": "#/definitions/Some key-name"
+ "$ref": "#/definitions/Optional.empty"
},
"key-value": {
- "$ref": "#/definitions/Some key-value"
+ "$ref": "#/definitions/Optional.empty"
}
},
"type": "object"
@@ -55,17 +55,13 @@
"(data-change-notification)input": {
"properties": {
"DataChange:aai-event-id": {
- "$ref": "#/definitions/Some aai-event-id"
+ "$ref": "#/definitions/Optional.empty"
},
"DataChange:aai-event-trigger": {
- "$ref": "#/definitions/Update",
- "enum": [
- "Update",
- "Delete"
- ]
+ "$ref": "#/definitions/Optional.empty"
},
"DataChange:aai-node-type": {
- "$ref": "#/definitions/Some aai-node-type"
+ "$ref": "#/definitions/Optional.empty"
},
"DataChange:key-data": {
"items": {
@@ -74,7 +70,7 @@
"type": "array"
},
"DataChange:selflink": {
- "$ref": "#/definitions/Some selflink"
+ "$ref": "#/definitions/Optional.empty"
}
},
"type": "object"
@@ -93,7 +89,7 @@
"(data-change-notification)output": {
"properties": {
"DataChange:data-change-response-code": {
- "$ref": "#/definitions/Some data-change-response-code"
+ "$ref": "#/definitions/Optional.empty"
}
},
"type": "object"
@@ -112,10 +108,10 @@
"DataChange(config)key-data": {
"properties": {
"DataChange:key-name": {
- "$ref": "#/definitions/Some key-name"
+ "$ref": "#/definitions/Optional.empty"
},
"DataChange:key-value": {
- "$ref": "#/definitions/Some key-value"
+ "$ref": "#/definitions/Optional.empty"
}
},
"type": "object"