aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec/schemas
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-05-14 10:50:12 +0200
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2020-05-14 12:13:25 +0200
commit099e314a1bb823a83d9c1af0cca2363487a07899 (patch)
tree4749db4cce844aae41401f6a9a8ee13ddfb76c7c /lib/pleroma/web/api_spec/schemas
parentcb363f018380cceb9531e0ddd12a979b8accc0b2 (diff)
downloadpleroma-099e314a1bb823a83d9c1af0cca2363487a07899.tar.gz
Add OpenAPISpex for MediaController
Diffstat (limited to 'lib/pleroma/web/api_spec/schemas')
-rw-r--r--lib/pleroma/web/api_spec/schemas/attachment.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/attachment.ex b/lib/pleroma/web/api_spec/schemas/attachment.ex
index c146c416e..c6edf6d36 100644
--- a/lib/pleroma/web/api_spec/schemas/attachment.ex
+++ b/lib/pleroma/web/api_spec/schemas/attachment.ex
@@ -13,7 +13,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Attachment do
type: :object,
requried: [:id, :url, :preview_url],
properties: %{
- id: %Schema{type: :string},
+ id: %Schema{type: :string, description: "The ID of the attachment in the database."},
url: %Schema{
type: :string,
format: :uri,