mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-28 05:14:10 +02:00
Correctly nest the capabilities response object
Everything is contained in a "capabilities" property, which is not represented by the schema. The example was correct.
This commit is contained in:
parent
3e06473305
commit
d31d2f5e57
|
|
@ -62,11 +62,15 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
required: ["capabilities"]
|
required: ["capabilities"]
|
||||||
additionalProperties:
|
properties:
|
||||||
|
capabilities:
|
||||||
type: object
|
type: object
|
||||||
|
title: Capabilities
|
||||||
description: |-
|
description: |-
|
||||||
The custom capabilities the server supports, using the
|
The custom capabilities the server supports, using the
|
||||||
Java package naming convention.
|
Java package naming convention.
|
||||||
|
additionalProperties:
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
"m.change_password":
|
"m.change_password":
|
||||||
type: object
|
type: object
|
||||||
|
|
|
||||||
1
changelogs/client_server/newsfragments/1879.feature
Normal file
1
changelogs/client_server/newsfragments/1879.feature
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Support optional features by having clients query for capabilities.
|
||||||
Loading…
Reference in a new issue