From e03a1e9f7696aa5e5679ed5c7a3035a1f3938b5c Mon Sep 17 00:00:00 2001 From: natalyatodorova Date: Fri, 19 Dec 2025 12:28:21 +0000 Subject: [PATCH 1/4] ODM-11754: quick fix to add parameters to sdk --- .../schemas/job/ImportAFileFromMultipartRequest.yaml | 6 ++++++ .../schemas/job/ImportCellsFromMultipartRequest.yaml | 6 ++++++ .../job/ImportMetadataFromMultipartRequest.yaml | 6 ++++++ .../job/ImportSignalRunFomMultipartRequest.yaml | 6 ++++++ .../TransformationParametersForMultipartRequest.yaml | 11 +++++++++++ 5 files changed, 35 insertions(+) create mode 100644 openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml diff --git a/openapi/v1/schemas/job/ImportAFileFromMultipartRequest.yaml b/openapi/v1/schemas/job/ImportAFileFromMultipartRequest.yaml index 55fc15c1..e4b4dce5 100644 --- a/openapi/v1/schemas/job/ImportAFileFromMultipartRequest.yaml +++ b/openapi/v1/schemas/job/ImportAFileFromMultipartRequest.yaml @@ -20,3 +20,9 @@ required: - studyAccession - dataClass type: object +allOf: + - $ref: "#/components/schemas/TransformationParametersForMultipartRequest" +components: + schemas: + TransformationParametersForMultipartRequest: + $ref: "./TransformationParametersForMultipartRequest.yaml" diff --git a/openapi/v1/schemas/job/ImportCellsFromMultipartRequest.yaml b/openapi/v1/schemas/job/ImportCellsFromMultipartRequest.yaml index 4f109f4e..4e3f04e0 100644 --- a/openapi/v1/schemas/job/ImportCellsFromMultipartRequest.yaml +++ b/openapi/v1/schemas/job/ImportCellsFromMultipartRequest.yaml @@ -10,3 +10,9 @@ required: - studyId - data type: object +allOf: + - $ref: "#/components/schemas/TransformationParametersForMultipartRequest" +components: + schemas: + TransformationParametersForMultipartRequest: + $ref: "./TransformationParametersForMultipartRequest.yaml" diff --git a/openapi/v1/schemas/job/ImportMetadataFromMultipartRequest.yaml b/openapi/v1/schemas/job/ImportMetadataFromMultipartRequest.yaml index 47b4d9f3..a142f891 100644 --- a/openapi/v1/schemas/job/ImportMetadataFromMultipartRequest.yaml +++ b/openapi/v1/schemas/job/ImportMetadataFromMultipartRequest.yaml @@ -13,3 +13,9 @@ required: - studyId - metadata type: object +allOf: + - $ref: "#/components/schemas/TransformationParametersForMultipartRequest" +components: + schemas: + TransformationParametersForMultipartRequest: + $ref: "./TransformationParametersForMultipartRequest.yaml" diff --git a/openapi/v1/schemas/job/ImportSignalRunFomMultipartRequest.yaml b/openapi/v1/schemas/job/ImportSignalRunFomMultipartRequest.yaml index ca06cd25..43f4d419 100644 --- a/openapi/v1/schemas/job/ImportSignalRunFomMultipartRequest.yaml +++ b/openapi/v1/schemas/job/ImportSignalRunFomMultipartRequest.yaml @@ -19,3 +19,9 @@ required: - studyId - data type: object +allOf: + - $ref: "#/components/schemas/TransformationParametersForMultipartRequest" +components: + schemas: + TransformationParametersForMultipartRequest: + $ref: "./TransformationParametersForMultipartRequest.yaml" diff --git a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml new file mode 100644 index 00000000..378f1a8d --- /dev/null +++ b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml @@ -0,0 +1,11 @@ +properties: + sourceAttachmentAccession: + type: string + description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + transformationName: + type: string + description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + transformationVersion: + type: string + description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. +type: object From 4f550b27a7dee7c4cbb8202ee1645e07b027fee9 Mon Sep 17 00:00:00 2001 From: Leona Nedeljkovic Date: Mon, 22 Dec 2025 12:27:44 +0100 Subject: [PATCH 2/4] ODM-11754: Hide params from swagger ui --- .../job/TransformationParametersForMultipartRequest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml index 378f1a8d..1c97a445 100644 --- a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml +++ b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml @@ -2,10 +2,13 @@ properties: sourceAttachmentAccession: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + x-internal: true transformationName: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + x-internal: true transformationVersion: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + x-internal: true type: object From 3bd3a0b91b533c2247c30a3285687ad49622b9cb Mon Sep 17 00:00:00 2001 From: Leona Nedeljkovic Date: Mon, 22 Dec 2025 14:38:52 +0100 Subject: [PATCH 3/4] ODM-11754: Revert Hide params from swagger ui --- .../job/TransformationParametersForMultipartRequest.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml index 1c97a445..378f1a8d 100644 --- a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml +++ b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml @@ -2,13 +2,10 @@ properties: sourceAttachmentAccession: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. - x-internal: true transformationName: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. - x-internal: true transformationVersion: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. - x-internal: true type: object From 09c6814e03a4644c1446f9562309c0f7801cdc50 Mon Sep 17 00:00:00 2001 From: natalyatodorova Date: Tue, 23 Dec 2025 11:54:57 +0000 Subject: [PATCH 4/4] !!ODM-11754: hide from swagger ui --- .../job/TransformationParametersForMultipartRequest.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml index 378f1a8d..9ae8073f 100644 --- a/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml +++ b/openapi/v1/schemas/job/TransformationParametersForMultipartRequest.yaml @@ -2,10 +2,13 @@ properties: sourceAttachmentAccession: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + readOnly: true transformationName: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + readOnly: true transformationVersion: type: string description: The property is automatically populated by the attachment transformation pipeline and must not be provided during regular multipart uploads. + readOnly: true type: object