Skip to content

Commit

Permalink
Sanketika-obsrv/issue-tracker#304: modified mandatory fields for data…
Browse files Browse the repository at this point in the history
…source create request (#112)
  • Loading branch information
GayathriSrividya authored Mar 25, 2024
1 parent ef918f6 commit 0789f3f
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions api-service/src/resources/schemas/DatasourceSaveReq.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@
}
}
},
"required": [
"dataset_id",
"datasource",
"published_date"
]
"oneOf": [
{ "required": ["dataset_id", "datasource", "ingestion_spec", "published_date"] },
{ "required": ["dataset_id", "datasource", "lakehouse_spec", "published_date"] }]
}

0 comments on commit 0789f3f

Please sign in to comment.