Signed-off-by: Marcin Mikołajczak <git@mkljczk.pl>
This commit is contained in:
Marcin Mikołajczak 2023-11-11 19:13:37 +01:00
parent af63670901
commit 34c142e672
3 changed files with 5 additions and 4 deletions

View file

@ -1071,7 +1071,7 @@ config :pleroma, :config_description, [
key: :enabled,
type: :boolean,
description: "Enables allowing multiple Webfinger domains"
},
}
]
}
]
@ -3478,5 +3478,5 @@ config :pleroma, :config_description, [
]
}
]
},
}
]

View file

@ -104,7 +104,8 @@ defmodule Pleroma.Web.ApiSpec do
"Report managment",
"Status administration",
"User administration",
"Announcement management"
"Announcement management",
"Domain managment"
]
},
%{"name" => "Applications", "tags" => ["Applications", "Push subscriptions"]},

View file

@ -42,7 +42,7 @@ defmodule Pleroma.Web.ApiSpec.Admin.DomainOperation do
responses: %{
200 => Operation.response("Response", "application/json", domain()),
400 => Operation.response("Bad Request", "application/json", ApiError),
403 => Operation.response("Forbidden", "application/json", ApiError),
403 => Operation.response("Forbidden", "application/json", ApiError)
}
}
end