commit: 67844a8b11e7b921375f184afd1410a42c342d0f
parent: 94ba5a780212920a1d4b303c3523f66ca0147a67
Author: lain <lain@soykaf.club>
Date: Wed, 20 May 2020 11:40:05 +0000
Merge branch 'openapi/fix-spec' into 'develop'
Add `background_image` to `InstanceOperation`
See merge request pleroma/pleroma!2562
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/web/api_spec/operations/instance_operation.ex b/lib/pleroma/web/api_spec/operations/instance_operation.ex
@@ -125,7 +125,12 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do
},
avatar_upload_limit: %Schema{type: :integer, description: "The title of the website"},
background_upload_limit: %Schema{type: :integer, description: "The title of the website"},
- banner_upload_limit: %Schema{type: :integer, description: "The title of the website"}
+ banner_upload_limit: %Schema{type: :integer, description: "The title of the website"},
+ background_image: %Schema{
+ type: :string,
+ format: :uri,
+ description: "The background image for the website"
+ }
},
example: %{
"avatar_upload_limit" => 2_000_000,