Fix the response for GET /_matrix/app/v1/thirdparty/protocol/{protocol} (#3675)

This should return a single protocol, not all of them.

Fixes #2286.
This commit is contained in:
Richard van der Hoff 2022-01-26 10:47:29 +00:00 committed by GitHub
parent c151353956
commit 39a41a18ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Correct the documentation for the response value for `GET /_matrix/app/v1/thirdparty/protocol/{protocol}`.

View file

@ -48,7 +48,7 @@ paths:
200:
description: The protocol was found and metadata returned.
schema:
$ref: definitions/protocol_metadata.yaml
$ref: definitions/protocol.yaml
401:
description: |-
The homeserver has not supplied credentials to the application service.