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:
parent
67c9f814e0
commit
1405184765
3 changed files with 13 additions and 6 deletions
|
@ -0,0 +1 @@
|
||||||
|
Fix JSON schema of custom fields in query.
|
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue