1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.ApiSpec.Schemas.ApiError do
6 alias OpenApiSpex.Schema
12 description: "Response schema for API error",
14 properties: %{error: %Schema{type: :string}},
16 "error" => "Something went wrong"