Update response documentation for PUT /v1/challenge

This commit is contained in:
Chris Eager
2025-10-01 12:37:21 -05:00
committed by Chris Eager
parent 4ab58e950b
commit 70ac4ad139

View File

@@ -78,7 +78,8 @@ public class ChallengeController {
AnswerCaptchaChallengeRequest.class}))})
)
@ApiResponse(responseCode = "200", description = "Indicates the challenge proof was accepted")
@ApiResponse(responseCode = "428", description = "Submitted captcha token is invalid")
@ApiResponse(responseCode = "400", description = "The request was invalid")
@ApiResponse(responseCode = "428", description = "Submitted captcha token was not accepted")
@ApiResponse(responseCode = "429", description = "Too many attempts", headers = @Header(
name = "Retry-After",
description = "If present, an positive integer indicating the number of seconds before a subsequent attempt could succeed"))