Commit 17ad3db2 authored by Walter Featherstone's avatar Walter Featherstone

Changes proposed in bug 10 - SubscriptionLinkList should include an array of...

Changes proposed in bug 10 - SubscriptionLinkList should include an array of the attribute Subscription

Change-Id: I888613c50354aabc98314fbd0b18c35377b0d6ba
Signed-off-by: Walter Featherstone's avatarWalter Featherstone <walter.featherstone@viavisolutions.com>
parent 80c624be
...@@ -6025,10 +6025,13 @@ ...@@ -6025,10 +6025,13 @@
], ],
"properties": { "properties": {
"_links": { "_links": {
"$ref": "#/definitions/LinkList" "$ref": "#/definitions/Link"
}, },
"subscription": { "subscription": {
"$ref": "#/definitions/Subscription" "type": "array",
"items": {
"$ref": "#/definitions/Subscription"
}
} }
} }
}, },
...@@ -6373,21 +6376,6 @@ ...@@ -6373,21 +6376,6 @@
}, },
"description": "List of hyperlinks related to the resource" "description": "List of hyperlinks related to the resource"
}, },
"LinkList": {
"type": "object",
"required": [
"self"
],
"properties": {
"self": {
"$ref": "#/definitions/LinkType"
},
"subscription": {
"$ref": "#/definitions/Subscription"
}
},
"description": "List of hyperlinks related to the resource"
},
"LinkType": { "LinkType": {
"description": "URI referring to a resource", "description": "URI referring to a resource",
"type": "string", "type": "string",
......
...@@ -4164,9 +4164,11 @@ definitions: ...@@ -4164,9 +4164,11 @@ definitions:
- _links - _links
properties: properties:
_links: _links:
$ref: '#/definitions/LinkList' $ref: '#/definitions/Link'
subscription: subscription:
$ref: '#/definitions/Subscription' type: array
items:
$ref: '#/definitions/Subscription'
MeasRepUeSubscriptionPost: MeasRepUeSubscriptionPost:
type: object type: object
required: required:
...@@ -4400,16 +4402,6 @@ definitions: ...@@ -4400,16 +4402,6 @@ definitions:
self: self:
$ref: '#/definitions/LinkType' $ref: '#/definitions/LinkType'
description: List of hyperlinks related to the resource description: List of hyperlinks related to the resource
LinkList:
type: object
required:
- self
properties:
self:
$ref: '#/definitions/LinkType'
subscription:
$ref: '#/definitions/Subscription'
description: List of hyperlinks related to the resource
LinkType: LinkType:
description: URI referring to a resource description: URI referring to a resource
type: string type: string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment