projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add specs for AccountController.mute and AccountController.unmute
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
account_update_credentials_request.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/account_update_credentials_request.ex
b/lib/pleroma/web/api_spec/schemas/account_update_credentials_request.ex
index 6ab48193edf577828b81823ef4f9761d4a977882..35220c78a3d7450ab597f6efb30545c81f150139 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/account_update_credentials_request.ex
+++ b/
lib/pleroma/web/api_spec/schemas/account_update_credentials_request.ex
@@
-38,7
+38,10
@@
defmodule Pleroma.Web.ApiSpec.Schemas.AccountUpdateCredentialsRequest do
description: "Whether manual approval of follow requests is required."
},
fields_attributes: %Schema{
description: "Whether manual approval of follow requests is required."
},
fields_attributes: %Schema{
- oneOf: [%Schema{type: :array, items: AccountAttributeField}, %Schema{type: :object}]
+ oneOf: [
+ %Schema{type: :array, items: AccountAttributeField},
+ %Schema{type: :object, additionalProperties: %Schema{type: AccountAttributeField}}
+ ]
},
# NOTE: `source` field is not supported
#
},
# NOTE: `source` field is not supported
#