mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 18:17:55 +00:00
f0238d010a
- Removes unneeded wrapping in examples - Adds `:format` attributes
19 lines
507 B
Elixir
19 lines
507 B
Elixir
# 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, format: :uri}
|
|
},
|
|
required: [:uri]
|
|
})
|
|
end
|