From 39a41a18ba85094c06e1e25867987eea15315d51 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Wed, 26 Jan 2022 10:47:29 +0000 Subject: [PATCH] Fix the response for `GET /_matrix/app/v1/thirdparty/protocol/{protocol}` (#3675) This should return a single protocol, not all of them. Fixes #2286. --- changelogs/application_service/newsfragments/3675.clarification | 1 + data/api/application-service/protocols.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/application_service/newsfragments/3675.clarification diff --git a/changelogs/application_service/newsfragments/3675.clarification b/changelogs/application_service/newsfragments/3675.clarification new file mode 100644 index 00000000..646d9ad6 --- /dev/null +++ b/changelogs/application_service/newsfragments/3675.clarification @@ -0,0 +1 @@ +Correct the documentation for the response value for `GET /_matrix/app/v1/thirdparty/protocol/{protocol}`. \ No newline at end of file diff --git a/data/api/application-service/protocols.yaml b/data/api/application-service/protocols.yaml index 32ac2c3c..b1e3ce6e 100644 --- a/data/api/application-service/protocols.yaml +++ b/data/api/application-service/protocols.yaml @@ -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.