Use type: integer, format: int64 for timestamps (#1129)

* Use type: integer / format: int64 for timestamps

Closes #749.

* Changelog
This commit is contained in:
Alexey Rusakov 2022-06-15 08:32:55 +02:00 committed by GitHub
parent 6adacd18c1
commit 6792b7a9d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 3 deletions

View file

@ -126,6 +126,7 @@ paths:
description: The ID of the room in which the event was posted.
ts:
type: integer
format: int64
description: |-
The unix timestamp at which the event notification was sent,
in milliseconds.

View file

@ -147,7 +147,7 @@ paths:
title: StrippedChildStateEvent
properties:
origin_server_ts:
type: number
type: integer
format: int64
description: The `origin_server_ts` for the event.
required: [origin_server_ts]