Skip to content

Commit 39a41a1

Browse files
authored
Fix the response for GET /_matrix/app/v1/thirdparty/protocol/{protocol} (#3675)
This should return a single protocol, not all of them. Fixes #2286.
1 parent c151353 commit 39a41a1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Correct the documentation for the response value for `GET /_matrix/app/v1/thirdparty/protocol/{protocol}`.

data/api/application-service/protocols.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ paths:
4848
200:
4949
description: The protocol was found and metadata returned.
5050
schema:
51-
$ref: definitions/protocol_metadata.yaml
51+
$ref: definitions/protocol.yaml
5252
401:
5353
description: |-
5454
The homeserver has not supplied credentials to the application service.

0 commit comments

Comments
 (0)