From abea4bf13f9c7c27b74166e35d4685c8c027c3c9 Mon Sep 17 00:00:00 2001 From: Ramona Popa Date: Fri, 12 May 2017 16:46:51 +0300 Subject: [PATCH] RM-5087 - Removed association from file plan children and recordCateg children --- .../main/webapp/definitions/gs-core-api.yaml | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml b/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml index d83e13eb3e..61f2bb1c99 100644 --- a/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml +++ b/rm-community/rm-community-rest-api-explorer/src/main/webapp/definitions/gs-core-api.yaml @@ -314,7 +314,7 @@ paths: '200': description: Successful response schema: - $ref: '#/definitions/RecordCategoryAssociationPaging' + $ref: '#/definitions/RecordCategoryPaging' '401': description: If authentication fails '403': @@ -1157,7 +1157,7 @@ paths: '200': description: Successful response schema: - $ref: '#/definitions/RecordCategoryAssociationPaging' + $ref: '#/definitions/RecordCategoryChildPaging' '401': description: If authentication fails '403': @@ -2984,7 +2984,7 @@ definitions: properties: entry: $ref: '#/definitions/RecordCategoryChild' - RecordCategoryAssociationPaging: + RecordCategoryPaging: type: object properties: list: @@ -2995,20 +2995,23 @@ definitions: entries: type: array items: - $ref: '#/definitions/RecordCategoryChildAssociationEntry' + $ref: '#/definitions/RecordCategoryEntry' source: $ref: '#/definitions/FilePlan' - RecordCategoryChildAssociationEntry: + RecordCategoryChildPaging: type: object - required: - - entry properties: - entry: - $ref: '#/definitions/RecordCategoryChildAssociation' - RecordCategoryChildAssociation: - allOf: - - $ref: '#/definitions/RecordCategoryChild' - - type: object + list: + type: object + properties: + pagination: + $ref: '#/definitions/Pagination' + entries: + type: array + items: + $ref: '#/definitions/RecordCategoryChildEntry' + source: + $ref: '#/definitions/RecordCategory' ## Record folder RecordFolder: type: object