Fix 409/410 docs in /v1/messages/

This commit is contained in:
Ravi Khadiwala 2024-12-10 16:29:41 -06:00 committed by ravi-signal
parent e1e94a33e2
commit 5a35d69ed0
1 changed files with 2 additions and 2 deletions

View File

@ -272,10 +272,10 @@ public class MessageController {
description="The message is not a story and some the recipient service ID does not correspond to a registered Signal user")
@ApiResponse(
responseCode = "409", description = "Incorrect set of devices supplied for recipient",
content = @Content(schema = @Schema(implementation = AccountMismatchedDevices[].class)))
content = @Content(schema = @Schema(implementation = MismatchedDevices.class)))
@ApiResponse(
responseCode = "410", description = "Mismatched registration ids supplied for some recipient devices",
content = @Content(schema = @Schema(implementation = AccountStaleDevices[].class)))
content = @Content(schema = @Schema(implementation = StaleDevices.class)))
@ApiResponse(
responseCode="428",
description="The sender should complete a challenge before proceeding")