From 4f451c52776d639e6f4f7947e06090f873484cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barbara=20Czy=C5=BC?= Date: Fri, 4 Aug 2023 09:41:32 +0200 Subject: [PATCH] fix: DDOC-868: mark fields as required (#339) * fix: DDOC-868: mark fields as required * Remove unnecessary lines --- content/paths/collaborations__post_collaborations.yml | 3 --- content/paths/comments__post_comments.yml | 1 + content/paths/tasks__post_tasks.yml | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/content/paths/collaborations__post_collaborations.yml b/content/paths/collaborations__post_collaborations.yml index e1991dd5..40d83309 100644 --- a/content/paths/collaborations__post_collaborations.yml +++ b/content/paths/collaborations__post_collaborations.yml @@ -42,9 +42,6 @@ requestBody: type: object description: |- The item to attach the comment to. - required: - - id - - type properties: type: type: string diff --git a/content/paths/comments__post_comments.yml b/content/paths/comments__post_comments.yml index 2915ceb6..dd349f40 100644 --- a/content/paths/comments__post_comments.yml +++ b/content/paths/comments__post_comments.yml @@ -22,6 +22,7 @@ requestBody: type: object required: - message + - item properties: message: type: string diff --git a/content/paths/tasks__post_tasks.yml b/content/paths/tasks__post_tasks.yml index 0d0e8c6b..9b291261 100644 --- a/content/paths/tasks__post_tasks.yml +++ b/content/paths/tasks__post_tasks.yml @@ -25,9 +25,6 @@ requestBody: type: object description: |- The file to attach the task to. - required: - - id - - type properties: id: type: string