Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix JSON schema of custom fields in query.
8 changes: 6 additions & 2 deletions data/api/application-service/protocols.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ paths:
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 @@ -166,7 +168,9 @@ paths:
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
4 changes: 3 additions & 1 deletion data/api/client-server/third_party_lookup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ paths:
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