132454579c596904009e2652307f9791eb217924
[akkoma] / lib / pleroma / web / api_spec / schemas / lists_response.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.ApiSpec.Schemas.ListsResponse do
6 alias Pleroma.Web.ApiSpec.Schemas.List
7
8 require OpenApiSpex
9
10 OpenApiSpex.schema(%{
11 title: "ListsResponse",
12 description: "Response schema for lists",
13 type: :array,
14 items: List
15 })
16 end