blob: 633269a92c794e9202858e31112da6c6656c04e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# 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.VisibilityScope do
require OpenApiSpex
OpenApiSpex.schema(%{
title: "VisibilityScope",
description: "Status visibility",
type: :string,
enum: ["public", "unlisted", "local", "private", "direct", "list"]
})
end
|