Skip to content

Commit 6c799fa

Browse files
committed
Make name and type required for datasets in spec
Signed-off-by: wslulciuc <willy@datakin.com>
1 parent 68fcb96 commit 6c799fa

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

spec/openapi.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,8 +774,8 @@ components:
774774
schema:
775775
type: string
776776
example: dataset:food_delivery:public.delivery_7_days
777-
description: The ID of the node. A node can either be a dataset node, a dataset field node or a job node.
778-
The format of nodeId for dataset is `dataset:<namespace_of_dataset>:<name_of_the_dataset>`, for dataset field
777+
description: The ID of the node. A node can either be a dataset node, a dataset field node or a job node.
778+
The format of nodeId for dataset is `dataset:<namespace_of_dataset>:<name_of_the_dataset>`, for dataset field
779779
is `datasetField:<namespace_of_dataset>:<name_of_the_dataset>:<name_of_field>`, and for job is
780780
`job:<namespace_of_the_job>:<name_of_the_job>`.
781781
required: true
@@ -1165,6 +1165,9 @@ components:
11651165
description:
11661166
description: The description of the field.
11671167
type: string
1168+
required:
1169+
- name
1170+
- type
11681171
tags:
11691172
description: List of tags.
11701173
type: array

0 commit comments

Comments
 (0)