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 all 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.
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