projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ObjectValidator: Clarify type of object.
[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..c6edf6d362dd1b9a062cf30f9e48ae56f735d958 100644
(file)
--- 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,