projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove sensitive-property setting #nsfw, create HashtagPolicy
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
schemas
/
attachment.ex
diff --git
a/lib/pleroma/web/api_spec/schemas/attachment.ex
b/lib/pleroma/web/api_spec/schemas/attachment.ex
index c146c416ebe3b7acba93e9d0fb9889db9fdd595b..ca3659c939da8015ed1bd7592fc8d4f216833f4b 100644
(file)
--- a/
lib/pleroma/web/api_spec/schemas/attachment.ex
+++ b/
lib/pleroma/web/api_spec/schemas/attachment.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.Schemas.Attachment do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.Schemas.Attachment do
@@
-13,7
+13,7
@@
defmodule Pleroma.Web.ApiSpec.Schemas.Attachment do
type: :object,
requried: [:id, :url, :preview_url],
properties: %{
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,
url: %Schema{
type: :string,
format: :uri,