Skip to content

Commit

Permalink
Clarify parameter definition for third-party location lookups (#1947)
Browse files Browse the repository at this point in the history
While 1405184 redefined most fields to
be the appropriate object type, it missed one of them.

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
  • Loading branch information
deepbluev7 authored Nov 12, 2024
1 parent 74e8be3 commit 9799b89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1947.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Correct OpenAPI specification for query parameters to `GET /_matrix/client/v3/thirdparty/location/{protocol}` endpoint.
6 changes: 4 additions & 2 deletions data/api/client-server/third_party_lookup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,14 @@ paths:
schema:
type: string
- in: query
name: searchFields
name: fields
description: |-
One or more custom fields to help identify the third-party
location.
schema:
type: string
type: object
additionalProperties:
type: string
responses:
"200":
description: At least one portal room was found.
Expand Down

0 comments on commit 9799b89

Please sign in to comment.