Fix POST _matrix/federation/v1/user/keys/claim
response schema (#1351)
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:
parent
b2c4abf567
commit
dfc8a2e184
2 changed files with 21 additions and 17 deletions
|
@ -0,0 +1 @@
|
||||||
|
Fix `POST _matrix/federation/v1/user/keys/claim` response schema.
|
|
@ -76,12 +76,15 @@ paths:
|
||||||
|
|
||||||
See the [Client-Server Key Algorithms](/client-server-api/#key-algorithms) section for more information on
|
See the [Client-Server Key Algorithms](/client-server-api/#key-algorithms) section for more information on
|
||||||
the Key Object format.
|
the Key Object format.
|
||||||
|
# User
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: object
|
type: object
|
||||||
|
# Device
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type:
|
type: object
|
||||||
- string
|
# Key
|
||||||
- type: object
|
additionalProperties:
|
||||||
|
type: object
|
||||||
title: KeyObject
|
title: KeyObject
|
||||||
properties:
|
properties:
|
||||||
key:
|
key:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue