From 0c9cc1bbacb3f171ee0df028a884f4725c202661 Mon Sep 17 00:00:00 2001 From: GayathriSrividya Date: Wed, 27 Mar 2024 13:11:16 +0530 Subject: [PATCH] =?UTF-8?q?Revert=20"Sanketika-obsrv/issue-tracker#304:=20?= =?UTF-8?q?modified=20mandatory=20fields=20for=20data=E2=80=A6"=20(#121)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0789f3f7e5dc9c303f0a2618b9d6fcdcc9a82e15. --- api-service/src/resources/schemas/DatasourceSaveReq.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api-service/src/resources/schemas/DatasourceSaveReq.json b/api-service/src/resources/schemas/DatasourceSaveReq.json index 9158e642..e6e7b1e8 100644 --- a/api-service/src/resources/schemas/DatasourceSaveReq.json +++ b/api-service/src/resources/schemas/DatasourceSaveReq.json @@ -53,7 +53,9 @@ } } }, - "oneOf": [ - { "required": ["dataset_id", "datasource", "ingestion_spec", "published_date"] }, - { "required": ["dataset_id", "datasource", "lakehouse_spec", "published_date"] }] + "required": [ + "dataset_id", + "datasource", + "published_date" + ] }