diff --git a/RniAPI.json b/RniAPI.json index c1fc76f87c7871ccf709766a478cdeae7f0932d1..494fc877b207465389fc5888c2c3f9c735cf5327 100644 --- a/RniAPI.json +++ b/RniAPI.json @@ -6025,10 +6025,13 @@ ], "properties": { "_links": { - "$ref": "#/definitions/LinkList" + "$ref": "#/definitions/Link" }, "subscription": { - "$ref": "#/definitions/Subscription" + "type": "array", + "items": { + "$ref": "#/definitions/Subscription" + } } } }, @@ -6373,21 +6376,6 @@ }, "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": { "description": "URI referring to a resource", "type": "string", diff --git a/RniAPI.yaml b/RniAPI.yaml index 3d417f8019a4e8b4252fec0bfb851e7f7ff1d666..fecd6265d1d29a9b040ace8ed657948237057641 100644 --- a/RniAPI.yaml +++ b/RniAPI.yaml @@ -4164,9 +4164,11 @@ definitions: - _links properties: _links: - $ref: '#/definitions/LinkList' + $ref: '#/definitions/Link' subscription: - $ref: '#/definitions/Subscription' + type: array + items: + $ref: '#/definitions/Subscription' MeasRepUeSubscriptionPost: type: object required: @@ -4400,16 +4402,6 @@ definitions: self: $ref: '#/definitions/LinkType' 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: description: URI referring to a resource type: string