Add spec for AccountController.statuses
[akkoma] / lib / pleroma / web / api_spec / schemas / statuses_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.StatusesResponse do
6 require OpenApiSpex
7
8 OpenApiSpex.schema(%{
9 title: "StatusesResponse",
10 type: :array,
11 items: Pleroma.Web.ApiSpec.Schemas.Status
12 })
13 end