summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rin@patch.cx>2021-03-31 08:19:31 +0000
committerrinpatch <rin@patch.cx>2021-03-31 08:19:31 +0000
commitc368bf6dce3702e815b45b9a8f2704673dc50f2d (patch)
treea666f1e2d404d91a5f6c5f7353727336dce081f6
parent4c16f5d2ca5f7665b88b7b332b718f9445d9bb04 (diff)
parent863010ea637d6670076dba3f6da54daa144cce67 (diff)
Merge branch 'patch-fix-open-api-spec' into 'develop'
OpenAPI: Fix `date-time` being specified as an `integer` in OpenAPI spec (when it should be a `string`) in AccountCreateResponse See merge request pleroma/pleroma!3382
-rw-r--r--lib/pleroma/web/api_spec/operations/account_operation.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex
index 54e5ebc76..08d68893a 100644
--- a/lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/account_operation.ex
@@ -482,7 +482,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
access_token: %Schema{type: :string},
refresh_token: %Schema{type: :string},
scope: %Schema{type: :string},
- created_at: %Schema{type: :integer, format: :"date-time"},
+ created_at: %Schema{type: :string, format: :"date-time"},
me: %Schema{type: :string},
expires_in: %Schema{type: :integer},
#