Skip to content

Commit 1538792

Browse files
authored
fix: Make parameter of update collaboration optional (#557)
1 parent 816d3b8 commit 1538792

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

openapi.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "a9f74bd022"
17+
"x-box-commit-hash": "e25c8a1f50"
1818
},
1919
"servers": [
2020
{
@@ -9912,7 +9912,7 @@
99129912
"put": {
99139913
"operationId": "put_collaborations_id",
99149914
"summary": "Update collaboration",
9915-
"description": "Updates a collaboration.\nCan be used to change the owner of an item, or to\naccept collaboration invites.",
9915+
"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.",
99169916
"parameters": [
99179917
{
99189918
"name": "collaboration_id",
@@ -9967,10 +9967,7 @@
99679967
"type": "boolean",
99689968
"example": true
99699969
}
9970-
},
9971-
"required": [
9972-
"role"
9973-
]
9970+
}
99749971
}
99759972
}
99769973
}

openapi/openapi-v2025.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2025.0",
17-
"x-box-commit-hash": "a9f74bd022"
17+
"x-box-commit-hash": "e25c8a1f50"
1818
},
1919
"servers": [
2020
{

openapi/openapi.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "a9f74bd022"
17+
"x-box-commit-hash": "e25c8a1f50"
1818
},
1919
"servers": [
2020
{
@@ -9912,7 +9912,7 @@
99129912
"put": {
99139913
"operationId": "put_collaborations_id",
99149914
"summary": "Update collaboration",
9915-
"description": "Updates a collaboration.\nCan be used to change the owner of an item, or to\naccept collaboration invites.",
9915+
"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.",
99169916
"parameters": [
99179917
{
99189918
"name": "collaboration_id",
@@ -9967,10 +9967,7 @@
99679967
"type": "boolean",
99689968
"example": true
99699969
}
9970-
},
9971-
"required": [
9972-
"role"
9973-
]
9970+
}
99749971
}
99759972
}
99769973
}

0 commit comments

Comments
 (0)