1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-24 02:57:04 +01:00

Merge branch 'openapi/fix-spec' into 'develop'

Add `background_image` to `InstanceOperation`

See merge request pleroma/pleroma!2562
This commit is contained in:
lain 2020-05-20 11:40:05 +00:00
commit 67844a8b11

View File

@ -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,