Skip to content

Commit

Permalink
Fix schema of custom fields in query for appservice API (matrix-org#1584
Browse files Browse the repository at this point in the history
)

* 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>
  • Loading branch information
zecakeh authored Jul 5, 2023
1 parent 67c9f81 commit 1405184
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix JSON schema of custom fields in query.
12 changes: 8 additions & 4 deletions data/api/application-service/protocols.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions data/api/client-server/third_party_lookup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1405184

Please sign in to comment.