refactor(api): drop ignored location param from thread routes (#3371)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-10 17:57:15 +02:00
1 parent c14b7d4cb3
commit 70fd9e6331
6 files changed
+3 -77

No files matched your search

+3 -34
View File
@@ -5850,13 +5850,6 @@
"required": true,
"schema": {"description": "The ID of the channel", "$ref": "#/components/schemas/SnowflakeType"},
"description": "The ID of the channel"
},
{
"name": "location",
"in": "query",
"required": false,
"schema": {"description": "Accepted and ignored", "type": "string", "maxLength": 100},
"description": "Accepted and ignored"
}
]
},
@@ -5915,13 +5908,6 @@
"required": true,
"schema": {"description": "The ID of the channel", "$ref": "#/components/schemas/SnowflakeType"},
"description": "The ID of the channel"
},
{
"name": "location",
"in": "query",
"required": false,
"schema": {"description": "Accepted and ignored", "type": "string", "maxLength": 100},
"description": "Accepted and ignored"
}
]
}
@@ -6140,13 +6126,6 @@
"required": true,
"schema": {"description": "The ID of the user", "$ref": "#/components/schemas/SnowflakeType"},
"description": "The ID of the user"
},
{
"name": "location",
"in": "query",
"required": false,
"schema": {"description": "Accepted and ignored", "type": "string", "maxLength": 100},
"description": "Accepted and ignored"
}
]
},
@@ -6212,13 +6191,6 @@
"required": true,
"schema": {"description": "The ID of the user", "$ref": "#/components/schemas/SnowflakeType"},
"description": "The ID of the user"
},
{
"name": "location",
"in": "query",
"required": false,
"schema": {"description": "Accepted and ignored", "type": "string", "maxLength": 100},
"description": "Accepted and ignored"
}
]
}
@@ -31490,8 +31462,7 @@
"maximum": 21600,
"description": "Seconds a user has to wait before sending another message (0-21600)",
"$ref": "#/components/schemas/Int32Type"
},
"location": {"description": "Accepted and ignored", "type": "string", "maxLength": 100}
}
},
"required": ["name"]
},
@@ -36252,8 +36223,7 @@
},
"description": "The first message of the post",
"$ref": "#/components/schemas/ForumThreadMessageRequest"
},
"location": {"description": "Accepted and ignored", "type": "string", "maxLength": 100}
}
},
"required": ["name", "message"],
"x-fluxer-experiment": "channel_threads"
@@ -36272,8 +36242,7 @@
"invitable": {
"description": "Whether non-moderators can add other non-moderators (private threads)",
"type": "boolean"
},
"location": {"description": "Accepted and ignored", "type": "string", "maxLength": 100}
}
},
"required": ["name", "type"]
},