From a384f285ae2d10ffdde279d855e66b4db18ad778 Mon Sep 17 00:00:00 2001 From: box-apimgmt Date: Fri, 3 Oct 2025 02:32:36 -0700 Subject: [PATCH] fix: Make parameter of update collaboration optional --- openapi.json | 9 +++------ openapi/openapi-v2025.0.json | 2 +- openapi/openapi.json | 9 +++------ 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/openapi.json b/openapi.json index 747b307b..c9467b0d 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2024.0", - "x-box-commit-hash": "a9f74bd022" + "x-box-commit-hash": "e25c8a1f50" }, "servers": [ { @@ -9912,7 +9912,7 @@ "put": { "operationId": "put_collaborations_id", "summary": "Update collaboration", - "description": "Updates a collaboration.\nCan be used to change the owner of an item, or to\naccept collaboration invites.", + "description": "Updates a collaboration.\nCan be used to change the owner of an item, or to\naccept collaboration invites. In case of accepting collaboration invite, role is not required.", "parameters": [ { "name": "collaboration_id", @@ -9967,10 +9967,7 @@ "type": "boolean", "example": true } - }, - "required": [ - "role" - ] + } } } } diff --git a/openapi/openapi-v2025.0.json b/openapi/openapi-v2025.0.json index fdf3cf1d..353b4807 100644 --- a/openapi/openapi-v2025.0.json +++ b/openapi/openapi-v2025.0.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2025.0", - "x-box-commit-hash": "a9f74bd022" + "x-box-commit-hash": "e25c8a1f50" }, "servers": [ { diff --git a/openapi/openapi.json b/openapi/openapi.json index 747b307b..c9467b0d 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2024.0", - "x-box-commit-hash": "a9f74bd022" + "x-box-commit-hash": "e25c8a1f50" }, "servers": [ { @@ -9912,7 +9912,7 @@ "put": { "operationId": "put_collaborations_id", "summary": "Update collaboration", - "description": "Updates a collaboration.\nCan be used to change the owner of an item, or to\naccept collaboration invites.", + "description": "Updates a collaboration.\nCan be used to change the owner of an item, or to\naccept collaboration invites. In case of accepting collaboration invite, role is not required.", "parameters": [ { "name": "collaboration_id", @@ -9967,10 +9967,7 @@ "type": "boolean", "example": true } - }, - "required": [ - "role" - ] + } } } }