Skip to content

Commit 6404346

Browse files
committed
chore: generate OpenAPI specification
1 parent f15d602 commit 6404346

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

OpenAPI.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@
469469
"tags": [
470470
"Relationships"
471471
],
472-
"summary": "Fetch Mutual Friends And Servers",
473-
"description": "Retrieve a list of mutual friends and servers with another user.",
472+
"summary": "Fetch Mutual Friends, Servers, Groups and DMs",
473+
"description": "Retrieve a list of mutual friends, servers, groups and DMs with another user.",
474474
"operationId": "find_mutual_mutual",
475475
"parameters": [
476476
{
@@ -7889,9 +7889,10 @@
78897889
}
78907890
},
78917891
"MutualResponse": {
7892-
"description": "Mutual friends and servers response",
7892+
"description": "Mutual friends, servers, groups and DMs response",
78937893
"type": "object",
78947894
"required": [
7895+
"channels",
78957896
"servers",
78967897
"users"
78977898
],
@@ -7909,6 +7910,13 @@
79097910
"items": {
79107911
"type": "string"
79117912
}
7913+
},
7914+
"channels": {
7915+
"description": "Array of mutual group and dm IDs that both users are in",
7916+
"type": "array",
7917+
"items": {
7918+
"type": "string"
7919+
}
79127920
}
79137921
}
79147922
},

0 commit comments

Comments
 (0)