From cfe1cfae5e06368a9ff1212fed3fb420cbe89010 Mon Sep 17 00:00:00 2001 From: Bobby Sharp Date: Wed, 14 Feb 2024 12:39:49 -0500 Subject: [PATCH] MODFQMMGR-137: Update APIs to use list of strings as result ids --- src/main/resources/swagger.api/queryTool.yaml | 9 ++++++--- .../resources/swagger.api/schemas/entityTypeColumn.json | 4 ++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/resources/swagger.api/queryTool.yaml b/src/main/resources/swagger.api/queryTool.yaml index 5915992..67f364f 100644 --- a/src/main/resources/swagger.api/queryTool.yaml +++ b/src/main/resources/swagger.api/queryTool.yaml @@ -282,7 +282,9 @@ components: name: afterId in: query schema: - $ref: '#/components/schemas/UUID' + type: array + items: + type: string required: false description: ID of the last element from the previous query @@ -342,8 +344,9 @@ components: queryResultIds: type: array items: - type: string - format: UUID + type: array + items: + type: string fields: type: array items: diff --git a/src/main/resources/swagger.api/schemas/entityTypeColumn.json b/src/main/resources/swagger.api/schemas/entityTypeColumn.json index 58e6de3..0f0e577 100644 --- a/src/main/resources/swagger.api/schemas/entityTypeColumn.json +++ b/src/main/resources/swagger.api/schemas/entityTypeColumn.json @@ -54,6 +54,10 @@ "isCustomField": { "description": "Indicates if the column belongs to the custom field.", "type": "boolean" + }, + "isIdColumn": { + "description": "Indicates if the column is part of the unique identifier for this entity type", + "type": "boolean" } }, "required": [