Fix POST _matrix/federation/v1/user/keys/claim response schema

The syntax was not compliant with the Swagger spec.
It also lacked one level of nesting.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2022-11-17 18:29:54 +01:00
parent 3a84ea7cf6
commit d5e1d590da
No known key found for this signature in database
GPG key ID: DD507DAE96E8245C

View file

@ -76,12 +76,15 @@ paths:
See the [Client-Server Key Algorithms](/client-server-api/#key-algorithms) section for more information on
the Key Object format.
# User
additionalProperties:
type: object
# Device
additionalProperties:
type:
- string
- type: object
type: object
# Key
additionalProperties:
type: object
title: KeyObject
properties:
key: