Add OpenAPI spec for PleromaAPI.EmojiAPIController
This commit is contained in:
parent
20a22362b8
commit
6e4de715b3
6 changed files with 541 additions and 96 deletions
|
|
@ -231,7 +231,8 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
# Pack info / downloading
|
||||
scope "/packs" do
|
||||
get("/", EmojiAPIController, :list)
|
||||
pipe_through(:api)
|
||||
get("/", EmojiAPIController, :index)
|
||||
get("/:name", EmojiAPIController, :show)
|
||||
get("/:name/archive", EmojiAPIController, :archive)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue