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

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

Fixes #2286.
pull/3650/head
Richard van der Hoff 3 years ago committed by GitHub
parent c151353956
commit 39a41a18ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save