Fix spell in API spec (requried->required)

How did this go unnoticed??
This commit is contained in:
itepechi 2023-11-25 07:09:35 +09:00
parent 00461a11fc
commit 589890f18b
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Attachment do
title: "Attachment", title: "Attachment",
description: "Represents a file or media attachment that can be added to a status.", description: "Represents a file or media attachment that can be added to a status.",
type: :object, type: :object,
requried: [:id, :url, :preview_url], required: [:id, :url, :preview_url],
properties: %{ properties: %{
id: %Schema{type: :string, description: "The ID of the attachment in the database."}, id: %Schema{type: :string, description: "The ID of the attachment in the database."},
url: %Schema{ url: %Schema{