projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'openapi/admin/invites' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
report_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/report_operation.ex
b/lib/pleroma/web/api_spec/operations/report_operation.ex
index 882177c96968a4a659b73dd6c5efe18e7329eb8a..b9b4c4f79e917b3b0ca1e3b5d888c29a31511e27 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/report_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/report_operation.ex
@@
-7,6
+7,7
@@
defmodule Pleroma.Web.ApiSpec.ReportOperation do
alias OpenApiSpex.Schema
alias Pleroma.Web.ApiSpec.Helpers
alias Pleroma.Web.ApiSpec.Schemas.ApiError
alias OpenApiSpex.Schema
alias Pleroma.Web.ApiSpec.Helpers
alias Pleroma.Web.ApiSpec.Schemas.ApiError
+ alias Pleroma.Web.ApiSpec.Schemas.BooleanLike
def open_api_operation(action) do
operation = String.to_existing_atom("#{action}_operation")
def open_api_operation(action) do
operation = String.to_existing_atom("#{action}_operation")
@@
-47,7
+48,7
@@
defmodule Pleroma.Web.ApiSpec.ReportOperation do
description: "Reason for the report"
},
forward: %Schema{
description: "Reason for the report"
},
forward: %Schema{
-
type: :boolean
,
+
allOf: [BooleanLike]
,
nullable: true,
default: false,
description:
nullable: true,
default: false,
description: