From e107f042aa16765ea9abfe405648d5b5983fadcd Mon Sep 17 00:00:00 2001 From: Richard Treier Date: Fri, 18 Aug 2023 16:57:53 +0200 Subject: [PATCH] chore: docs / typos --- .../api/common/model/PolicyDefinitionCreateRequest.java | 4 ++-- .../edc/ext/wrapper/api/common/model/PolicyDefinitionDto.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionCreateRequest.java b/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionCreateRequest.java index 56caa2942..bc35e490f 100644 --- a/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionCreateRequest.java +++ b/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionCreateRequest.java @@ -33,10 +33,10 @@ @RequiredArgsConstructor @Schema(description = "Data for creating a Policy Definition") public class PolicyDefinitionCreateRequest { - @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED) + @Schema(description = "Policy Definition ID", requiredMode = Schema.RequiredMode.REQUIRED) private String policyDefinitionId; - @Schema(description = "UIPolicy Create Dto", requiredMode = Schema.RequiredMode.REQUIRED) + @Schema(description = "Policy Contents", requiredMode = Schema.RequiredMode.REQUIRED) private UiPolicyCreateRequest uiPolicyDto; } diff --git a/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionDto.java b/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionDto.java index d5605a2e9..c76309296 100644 --- a/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionDto.java +++ b/extensions/wrapper/wrapper-common-api/src/main/java/de/sovity/edc/ext/wrapper/api/common/model/PolicyDefinitionDto.java @@ -28,10 +28,10 @@ @RequiredArgsConstructor @Schema(description = "Policy Definition as required for the Policy Definition Page") public class PolicyDefinitionDto { - @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED) + @Schema(description = "Policy Definition ID", requiredMode = Schema.RequiredMode.REQUIRED) private String policyDefinitionId; - @Schema(description = "UIPolicy Dto", requiredMode = Schema.RequiredMode.REQUIRED) + @Schema(description = "Policy Contents", requiredMode = Schema.RequiredMode.REQUIRED) private UiPolicyDto uiPolicyDto; }