From f39b4c8b67a65c0c045398ff63dcb1a4e1ac4466 Mon Sep 17 00:00:00 2001 From: Dmitriy Koval Date: Fri, 30 May 2025 10:42:02 +0200 Subject: [PATCH 1/5] Description updated to notify the existing limitation --- openapi/v1/referenceData.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/openapi/v1/referenceData.yaml b/openapi/v1/referenceData.yaml index e2bea1c2..91265f36 100644 --- a/openapi/v1/referenceData.yaml +++ b/openapi/v1/referenceData.yaml @@ -11,6 +11,11 @@ paths: post: operationId: create requestBody: + description: |- + Request body for creating a new xrefset. + + ## Important: + The length of 'sourceId' strings is limited to 255 characters. Ensure that the provided values adhere to this limitation to avoid data truncation. content: application/json: schema: @@ -57,6 +62,8 @@ paths: ## Conditions It is possible to supply a list of values for "targetId" and "sourceId". If non-empty lists of values for "targetId" and "sourceId" are supplied, the following search rule is applied: (sourceId = "S1" OR .. sourceId = "Sn") AND (targetId = "T1" OR .. targetId = "Tm"). + ## Important: + The length of 'sourceId' strings is limited to 255 characters. Ensure that the provided values adhere to this limitation to avoid data truncation. operationId: searchEntries parameters: - description: "Supply sourceId in the format \"sourceId\". For transcript-gene\ From cb1ae6574d3277cb27a4851db9066a3241f4a4f6 Mon Sep 17 00:00:00 2001 From: Dmitriy Koval Date: Fri, 30 May 2025 10:51:38 +0200 Subject: [PATCH 2/5] formatting fix --- openapi/v1/referenceData.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openapi/v1/referenceData.yaml b/openapi/v1/referenceData.yaml index 91265f36..a2873b57 100644 --- a/openapi/v1/referenceData.yaml +++ b/openapi/v1/referenceData.yaml @@ -11,9 +11,8 @@ paths: post: operationId: create requestBody: - description: |- + description: |+ Request body for creating a new xrefset. - ## Important: The length of 'sourceId' strings is limited to 255 characters. Ensure that the provided values adhere to this limitation to avoid data truncation. content: @@ -61,7 +60,6 @@ paths: description: |+ ## Conditions It is possible to supply a list of values for "targetId" and "sourceId". If non-empty lists of values for "targetId" and "sourceId" are supplied, the following search rule is applied: (sourceId = "S1" OR .. sourceId = "Sn") AND (targetId = "T1" OR .. targetId = "Tm"). - ## Important: The length of 'sourceId' strings is limited to 255 characters. Ensure that the provided values adhere to this limitation to avoid data truncation. operationId: searchEntries From 832a1dd7bda7de875c16d9ab9e795add5a15b129 Mon Sep 17 00:00:00 2001 From: Dmitriy Koval Date: Fri, 30 May 2025 11:06:45 +0200 Subject: [PATCH 3/5] mergeDefinitions --- openapi/v1/odmApi.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openapi/v1/odmApi.yaml b/openapi/v1/odmApi.yaml index 6b3647f4..ce4b12ba 100644 --- a/openapi/v1/odmApi.yaml +++ b/openapi/v1/odmApi.yaml @@ -18026,6 +18026,9 @@ paths: post: operationId: "create" requestBody: + description: "Request body for creating a new xrefset.\n## Important:\nThe\ + \ length of 'sourceId' strings is limited to 255 characters. Ensure that\ + \ the provided values adhere to this limitation to avoid data truncation.\n" content: application/json: schema: @@ -18073,7 +18076,9 @@ paths: targetId\" and \"sourceId\". If non-empty lists of values for \"targetId\"\ \ and \"sourceId\" are supplied, the following search rule is applied: (sourceId\ \ = \"S1\" OR .. sourceId = \"Sn\") AND (targetId = \"T1\" OR .. targetId\ - \ = \"Tm\").\n\n" + \ = \"Tm\").\n## Important:\nThe length of 'sourceId' strings is limited to\ + \ 255 characters. Ensure that the provided values adhere to this limitation\ + \ to avoid data truncation.\n" operationId: "searchEntries" parameters: - description: "Supply sourceId in the format \"sourceId\". For transcript-gene\ From 28a79ba83cb9f8aef74f9a1c6c4393a2c45ada9a Mon Sep 17 00:00:00 2001 From: Dmitriy Koval Date: Fri, 30 May 2025 11:06:50 +0200 Subject: [PATCH 4/5] mergeDefinitions for pre-commit --- buildSrc/.kotlin/errors/errors-1748595922820.log | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 buildSrc/.kotlin/errors/errors-1748595922820.log diff --git a/buildSrc/.kotlin/errors/errors-1748595922820.log b/buildSrc/.kotlin/errors/errors-1748595922820.log new file mode 100644 index 00000000..1219b509 --- /dev/null +++ b/buildSrc/.kotlin/errors/errors-1748595922820.log @@ -0,0 +1,4 @@ +kotlin version: 2.0.21 +error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: + 1. Kotlin compile daemon is ready + From 0d06ff73a260385b9e2ad5e99f0440adc30c774d Mon Sep 17 00:00:00 2001 From: Dmitriy Koval Date: Fri, 30 May 2025 11:32:53 +0200 Subject: [PATCH 5/5] remove extra log file --- buildSrc/.kotlin/errors/errors-1748595922820.log | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 buildSrc/.kotlin/errors/errors-1748595922820.log diff --git a/buildSrc/.kotlin/errors/errors-1748595922820.log b/buildSrc/.kotlin/errors/errors-1748595922820.log deleted file mode 100644 index 1219b509..00000000 --- a/buildSrc/.kotlin/errors/errors-1748595922820.log +++ /dev/null @@ -1,4 +0,0 @@ -kotlin version: 2.0.21 -error message: The daemon has terminated unexpectedly on startup attempt #1 with error code: 0. The daemon process output: - 1. Kotlin compile daemon is ready -