aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas/account_mute_request.ex
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-27 22:55:05 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-04-27 22:55:05 +0400
commitdda65f7799e9dfa2e7b87389848eeee10993a858 (patch)
treef780e65d3682effe4fe3160617b95852d23963e3 /lib/pleroma/web/api_spec/schemas/account_mute_request.ex
parent2efc00b3cf5413ae7f8e8411ee1372343ee2618a (diff)
downloadpleroma-dda65f7799e9dfa2e7b87389848eeee10993a858.tar.gz
Move single used schemas to operation schema
Diffstat (limited to 'lib/pleroma/web/api_spec/schemas/account_mute_request.ex')
-rw-r--r--lib/pleroma/web/api_spec/schemas/account_mute_request.ex24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/account_mute_request.ex b/lib/pleroma/web/api_spec/schemas/account_mute_request.ex
deleted file mode 100644
index a61f6d04c..000000000
--- a/lib/pleroma/web/api_spec/schemas/account_mute_request.ex
+++ /dev/null
@@ -1,24 +0,0 @@
-# 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.AccountMuteRequest do
- alias OpenApiSpex.Schema
- require OpenApiSpex
-
- OpenApiSpex.schema(%{
- title: "AccountMuteRequest",
- description: "POST body for muting an account",
- type: :object,
- properties: %{
- notifications: %Schema{
- type: :boolean,
- description: "Mute notifications in addition to statuses? Defaults to true.",
- default: true
- }
- },
- example: %{
- "notifications" => true
- }
- })
-end