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>
This commit is contained in:
parent
74e8be3fd9
commit
9799b892de
2 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue