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 1 week 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: schema:
type: string type: string
- in: query - in: query
name: searchFields name: fields
description: |- description: |-
One or more custom fields to help identify the third-party One or more custom fields to help identify the third-party
location. location.
schema: schema:
type: string type: object
additionalProperties:
type: string
responses: responses:
"200": "200":
description: At least one portal room was found. description: At least one portal room was found.

Loading…
Cancel
Save