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
This commit is contained in:
rinpatch 2021-03-31 08:19:31 +00:00
commit c368bf6dce
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ defp create_response do
access_token: %Schema{type: :string}, access_token: %Schema{type: :string},
refresh_token: %Schema{type: :string}, refresh_token: %Schema{type: :string},
scope: %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}, me: %Schema{type: :string},
expires_in: %Schema{type: :integer}, expires_in: %Schema{type: :integer},
# #