From e5fee0250764ec0e85607be238e8c3f3c0dd6e16 Mon Sep 17 00:00:00 2001 From: kulgg <75735874+kulgg@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:43:03 +0100 Subject: [PATCH] fix: AssetEditMetadataRequest for new mds attributes (#739) --- docs/sovity-edc-api-wrapper.yaml | 10 +++++----- .../api/common/model/UiAssetEditMetadataRequest.java | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/sovity-edc-api-wrapper.yaml b/docs/sovity-edc-api-wrapper.yaml index 129e4ea99..1f6471ec2 100644 --- a/docs/sovity-edc-api-wrapper.yaml +++ b/docs/sovity-edc-api-wrapper.yaml @@ -815,19 +815,19 @@ components: items: type: string description: Data sample URLs - referenceFilesDescription: + referenceFileUrls: type: array description: Reference file/schema URLs items: type: string description: Reference file/schema URLs - additionalDescription: + referenceFilesDescription: type: string - description: Instructions for use that are not legally relevant e.g. information - on how to cite the dataset in papers + description: Additional information on reference files/schemas conditionsForUse: type: string - description: Conditions for use + description: Instructions for use that are not legally relevant e.g. information + on how to cite the dataset in papers dataUpdateFrequency: type: string description: Data update frequency diff --git a/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/UiAssetEditMetadataRequest.java b/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/UiAssetEditMetadataRequest.java index e23b2b3e2..f321bae58 100644 --- a/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/UiAssetEditMetadataRequest.java +++ b/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/UiAssetEditMetadataRequest.java @@ -85,12 +85,12 @@ public class UiAssetEditMetadataRequest { private List dataSampleUrls; @Schema(description = "Reference file/schema URLs", requiredMode = Schema.RequiredMode.NOT_REQUIRED) - private List referenceFilesDescription; + private List referenceFileUrls; - @Schema(description = "Instructions for use that are not legally relevant e.g. information on how to cite the dataset in papers", requiredMode = Schema.RequiredMode.NOT_REQUIRED) - private String additionalDescription; + @Schema(description = "Additional information on reference files/schemas", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + private String referenceFilesDescription; - @Schema(description = "Conditions for use", requiredMode = Schema.RequiredMode.NOT_REQUIRED) + @Schema(description = "Instructions for use that are not legally relevant e.g. information on how to cite the dataset in papers", requiredMode = Schema.RequiredMode.NOT_REQUIRED) private String conditionsForUse; @Schema(description = "Data update frequency", requiredMode = Schema.RequiredMode.NOT_REQUIRED)