aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-02-17 01:07:56 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2021-03-15 06:47:07 +0100
commite4743847a18cb7cbb9e607232f25eb1cf63a4551 (patch)
treeb76f6892109f14d6acd5e928de4d0006ca4117fb /lib/pleroma/web/api_spec
parentef5de5eb398b6d4cbc1ed338f2f41d3bfa1c5fe9 (diff)
downloadpleroma-e4743847a18cb7cbb9e607232f25eb1cf63a4551.tar.gz
OpenAPI: PleromaAPI UserImport Controller
Diffstat (limited to 'lib/pleroma/web/api_spec')
-rw-r--r--lib/pleroma/web/api_spec/operations/user_import_operation.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/user_import_operation.ex b/lib/pleroma/web/api_spec/operations/user_import_operation.ex
index 6292e2004..8df19f1fc 100644
--- a/lib/pleroma/web/api_spec/operations/user_import_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/user_import_operation.ex
@@ -23,6 +23,7 @@ defmodule Pleroma.Web.ApiSpec.UserImportOperation do
requestBody: request_body("Parameters", import_request(), required: true),
responses: %{
200 => ok_response(),
+ 403 => Operation.response("Error", "application/json", ApiError),
500 => Operation.response("Error", "application/json", ApiError)
},
security: [%{"oAuth" => ["write:follow"]}]