diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-05-14 10:50:12 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-05-14 12:13:25 +0200 |
commit | 099e314a1bb823a83d9c1af0cca2363487a07899 (patch) | |
tree | 4749db4cce844aae41401f6a9a8ee13ddfb76c7c /lib/pleroma/web/api_spec/schemas | |
parent | cb363f018380cceb9531e0ddd12a979b8accc0b2 (diff) | |
download | pleroma-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.ex | 2 |
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, |