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>
This commit is contained in:
Kévin Commaille 2023-07-05 18:18:58 +02:00 committed by GitHub
parent 67c9f814e0
commit 1405184765
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 6 deletions

View file

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

View file

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

View file

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