commit: 53f23dd2596c1a9b7676f886c7b93c5bd2701392
parent 374305d5fe8313bf2d53833cb6073b2639adcaf0
Author: Phantasm <phantasm@centrum.cz>
Date: Thu, 11 Dec 2025 23:50:03 +0100
MastoAPI docs: Remove unused 403 respones
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/pleroma/web/api_spec/operations/status_operation.ex b/lib/pleroma/web/api_spec/operations/status_operation.ex
@@ -163,7 +163,6 @@ defmodule Pleroma.Web.ApiSpec.StatusOperation do
parameters: [id_param()],
responses: %{
200 => status_response(),
- 403 => Operation.response("Access denied", "application/json", ApiError),
404 => Operation.response("Not Found", "application/json", ApiError)
}
}
@@ -416,7 +415,6 @@ defmodule Pleroma.Web.ApiSpec.StatusOperation do
"application/json",
AccountOperation.array_of_accounts()
),
- 403 => Operation.response("Access denied", "application/json", ApiError),
404 => Operation.response("Not Found", "application/json", ApiError)
}
}