projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in dev, allow dev FE
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
pleroma_emoji_pack_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
b/lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
index 49247d9b66f97c35497299fe9c5cb7fe227e08ef..c38349486774f5937d5c02d2d7ca2f0697d3a456 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
@@
-231,9
+231,18
@@
defmodule Pleroma.Web.ApiSpec.PleromaEmojiPackOperation do
"application/json",
%Schema{
type: :object,
"application/json",
%Schema{
type: :object,
- additionalProperties: emoji_pack(),
+ properties: %{
+ count: %Schema{type: :integer},
+ packs: %Schema{
+ type: :object,
+ additionalProperties: emoji_pack()
+ }
+ },
example: %{
example: %{
- "emojos" => emoji_pack().example
+ "count" => 4,
+ "packs" => %{
+ "emojos" => emoji_pack().example
+ }
}
}
)
}
}
)