diff options
author | rinpatch <rin@patch.cx> | 2021-03-31 08:19:31 +0000 |
---|---|---|
committer | rinpatch <rin@patch.cx> | 2021-03-31 08:19:31 +0000 |
commit | c368bf6dce3702e815b45b9a8f2704673dc50f2d (patch) | |
tree | a666f1e2d404d91a5f6c5f7353727336dce081f6 | |
parent | 4c16f5d2ca5f7665b88b7b332b718f9445d9bb04 (diff) | |
parent | 863010ea637d6670076dba3f6da54daa144cce67 (diff) | |
download | pleroma-c368bf6dce3702e815b45b9a8f2704673dc50f2d.tar.gz |
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.ex | 2 |
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}, # |