projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix notifications mark as read API
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
pleroma_account_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/pleroma_account_operation.ex
b/lib/pleroma/web/api_spec/operations/pleroma_account_operation.ex
index 435991037fd23f6d10370d7b84aab852554c802d..90922c064afa2d1f069e20bd4a8b24e913d5191e 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/pleroma_account_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/pleroma_account_operation.ex
@@
-143,6
+143,7
@@
defmodule Pleroma.Web.ApiSpec.PleromaAccountOperation do
type: :object,
properties: %{
img: %Schema{
type: :object,
properties: %{
img: %Schema{
+ nullable: true,
type: :string,
format: :binary,
description: "Image encoded using `multipart/form-data` or an empty string to clear"
type: :string,
format: :binary,
description: "Image encoded using `multipart/form-data` or an empty string to clear"
@@
-158,6
+159,7
@@
defmodule Pleroma.Web.ApiSpec.PleromaAccountOperation do
properties: %{
banner: %Schema{
type: :string,
properties: %{
banner: %Schema{
type: :string,
+ nullable: true,
format: :binary,
description: "Image encoded using `multipart/form-data` or an empty string to clear"
}
format: :binary,
description: "Image encoded using `multipart/form-data` or an empty string to clear"
}