fix: add 403 response to confirm/dismiss OpenAPI annotations
Some checks failed
CI / Check / Test (push) Failing after 6m22s

This commit is contained in:
2026-06-02 21:06:22 +02:00
parent 4067dedb28
commit c878c0358f

View File

@@ -265,6 +265,7 @@ pub async fn get_watch_queue(
responses(
(status = 200, body = ConfirmWatchResponse),
(status = 401, description = "Unauthorized"),
(status = 403, description = "Forbidden — not your watch event"),
),
security(("bearer_auth" = []))
)]
@@ -296,6 +297,7 @@ pub async fn post_confirm_watch_events(
responses(
(status = 200, body = DismissWatchResponse),
(status = 401, description = "Unauthorized"),
(status = 403, description = "Forbidden — not your watch event"),
),
security(("bearer_auth" = []))
)]