From 2e5c48eecbd1d809716d27bcd2f84618b4b582d5 Mon Sep 17 00:00:00 2001 From: Christophe Loiseau Date: Fri, 11 Oct 2024 18:02:03 +0200 Subject: [PATCH] Fix DCAT CTX to get catalog --- docs/api/sovity-edc-api-wrapper.yaml | 4 ++-- .../src/main/java/de/sovity/edc/utils/jsonld/vocab/Prop.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/sovity-edc-api-wrapper.yaml b/docs/api/sovity-edc-api-wrapper.yaml index c794ad87c..64b183ee5 100644 --- a/docs/api/sovity-edc-api-wrapper.yaml +++ b/docs/api/sovity-edc-api-wrapper.yaml @@ -627,11 +627,11 @@ components: DataSourceType: type: string description: Supported Data Source Types by UiDataSource + default: CUSTOM enum: - HTTP_DATA - ON_REQUEST - CUSTOM - default: CUSTOM SecretValue: type: object properties: @@ -839,6 +839,7 @@ components: UiDataSourceHttpDataMethod: type: string description: Supported HTTP Methods by UiDataSource + default: GET enum: - GET - POST @@ -846,7 +847,6 @@ components: - PATCH - DELETE - OPTIONS - default: GET UiDataSourceOnRequest: required: - contactEmail diff --git a/utils/json-and-jsonld-utils/src/main/java/de/sovity/edc/utils/jsonld/vocab/Prop.java b/utils/json-and-jsonld-utils/src/main/java/de/sovity/edc/utils/jsonld/vocab/Prop.java index 31f0b8fca..04499e610 100644 --- a/utils/json-and-jsonld-utils/src/main/java/de/sovity/edc/utils/jsonld/vocab/Prop.java +++ b/utils/json-and-jsonld-utils/src/main/java/de/sovity/edc/utils/jsonld/vocab/Prop.java @@ -79,7 +79,7 @@ public class Dcat { /** * Context as specified in https://www.w3.org/TR/vocab-dcat-3/#normative-namespaces */ - public final String CTX = "http://www.w3.org/ns/dcat#"; + public final String CTX = "https://www.w3.org/ns/dcat/"; public final String DATASET = CTX + "dataset";