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

Correctly nest the capabilities response object
pull/977/head
Travis Ralston 6 years ago committed by GitHub
commit 72242e4ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -62,11 +62,15 @@ paths:
schema:
type: object
required: ["capabilities"]
additionalProperties:
properties:
capabilities:
type: object
title: Capabilities
description: |-
The custom capabilities the server supports, using the
Java package naming convention.
additionalProperties:
type: object
properties:
"m.change_password":
type: object

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