aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas/account_follows_request.ex
blob: 4fbe615d6300370842f7e9406e55e1e03c55bebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ApiSpec.Schemas.AccountFollowsRequest do
  alias OpenApiSpex.Schema
  require OpenApiSpex

  OpenApiSpex.schema(%{
    title: "AccountFollowsRequest",
    description: "POST body for muting an account",
    type: :object,
    properties: %{
      uri: %Schema{type: :string}
    },
    required: [:uri]
  })
end