Merge pull request #1879 from matrix-org/travis/fix-capabilities

Correctly nest the capabilities response object
This commit is contained in:
Travis Ralston 2019-02-11 21:45:02 -07:00 committed by GitHub
commit 72242e4ebb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 32 deletions

View file

@ -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

View file

@ -0,0 +1 @@
Support optional features by having clients query for capabilities.