Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma] / lib / pleroma / web / api_spec / schemas / visibility_scope.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.ApiSpec.Schemas.VisibilityScope do
6 require OpenApiSpex
7
8 OpenApiSpex.schema(%{
9 title: "VisibilityScope",
10 description: "Status visibility",
11 type: :string,
12 enum: ["public", "unlisted", "local", "private", "direct", "list"]
13 })
14 end