commit: c368bf6dce3702e815b45b9a8f2704673dc50f2d
parent 4c16f5d2ca5f7665b88b7b332b718f9445d9bb04
Author: rinpatch <rin@patch.cx>
Date: Wed, 31 Mar 2021 08:19:31 +0000
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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},
#