Clarify parameter definition for third-party location lookups (#1947)

While 1405184765 redefined most fields to
be the appropriate object type, it missed one of them.

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
pull/1709/merge
DeepBlueV7.X 2 weeks ago committed by GitHub
parent 74e8be3fd9
commit 9799b892de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Correct OpenAPI specification for query parameters to `GET /_matrix/client/v3/thirdparty/location/{protocol}` endpoint.

@ -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.

Loading…
Cancel
Save