Fix schema of custom fields in query for appservice API (#1584)

* Fix schema of custom fields in query for appservice API

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add changelog

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Remove ellipses

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

---------

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
pull/1596/head
Kévin Commaille 1 year ago committed by GitHub
parent 67c9f814e0
commit 1405184765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Fix JSON schema of custom fields in query.

@ -96,12 +96,14 @@ paths:
schema:
type: string
- in: query
name: fields...
name: fields
description: |-
One or more custom fields that are passed to the application
service to help identify the user.
schema:
type: string
type: object
additionalProperties:
type: string
responses:
"200":
description: The Matrix User IDs found with the given parameters.
@ -161,12 +163,14 @@ paths:
schema:
type: string
- in: query
name: fields...
name: fields
description: |-
One or more custom fields that are passed to the application
service 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.

@ -139,11 +139,13 @@ paths:
schema:
type: string
- in: query
name: fields...
name: fields
description: One or more custom fields that are passed to the AS to help
identify the user.
schema:
type: string
type: object
additionalProperties:
type: string
responses:
"200":
description: The Matrix User IDs found with the given parameters.

Loading…
Cancel
Save