Skip to content

Commit 8d252a9

Browse files
committed
chore: Ensure status code annotation is unique for get reminders
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
1 parent 85c546d commit 8d252a9

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

lib/Controller/ChatController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,8 +1608,7 @@ public function setReminder(int $messageId, int $timestamp): DataResponse {
16081608
* @return DataResponse<Http::STATUS_OK, TalkChatReminder, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{error?: string}, array{}>
16091609
*
16101610
* 200: Reminder returned
1611-
* 404: No reminder found
1612-
* 404: Message not found
1611+
* 404: No reminder found or message not found
16131612
*/
16141613
#[FederationSupported]
16151614
#[NoAdminRequired]

openapi-full.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10828,7 +10828,7 @@
1082810828
}
1082910829
},
1083010830
"404": {
10831-
"description": "Message not found",
10831+
"description": "No reminder found or message not found",
1083210832
"content": {
1083310833
"application/json": {
1083410834
"schema": {

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10716,7 +10716,7 @@
1071610716
}
1071710717
},
1071810718
"404": {
10719-
"description": "Message not found",
10719+
"description": "No reminder found or message not found",
1072010720
"content": {
1072110721
"application/json": {
1072210722
"schema": {

src/types/openapi/openapi-full.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6927,7 +6927,7 @@ export interface operations {
69276927
};
69286928
};
69296929
};
6930-
/** @description Message not found */
6930+
/** @description No reminder found or message not found */
69316931
404: {
69326932
headers: {
69336933
[name: string]: unknown;

src/types/openapi/openapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6360,7 +6360,7 @@ export interface operations {
63606360
};
63616361
};
63626362
};
6363-
/** @description Message not found */
6363+
/** @description No reminder found or message not found */
63646364
404: {
63656365
headers: {
63666366
[name: string]: unknown;

0 commit comments

Comments
 (0)