Use OneTimeKeys
schema (#1800)
This was commented prior to the port to OpenAPI 3.1 for technical reasons (#1127). Now we can use it just fine. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
1fc25d8d48
commit
2d18aac201
3 changed files with 8 additions and 16 deletions
|
@ -9,6 +9,7 @@ additionalProperties:
|
|||
oneOf:
|
||||
- type: string
|
||||
- type: object
|
||||
title: KeyObject
|
||||
properties:
|
||||
key:
|
||||
type: string
|
||||
|
@ -18,7 +19,7 @@ additionalProperties:
|
|||
description: |-
|
||||
Signature for the device. Mapped from user ID to signature object,
|
||||
containing mapping from _key signing identifier_ to the signature
|
||||
(see also: https://spec.matrix.org/v1.2/appendices/#signing-json)
|
||||
(see also: [Signing JSON](/appendices/#signing-json))
|
||||
additionalProperties:
|
||||
type: object
|
||||
required: ['key', 'signatures']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue