Remove additionalProperties: {} and note in description

This commit is contained in:
Johannes Marbach 2024-07-25 12:02:17 +02:00
parent 8d31089254
commit 186abbfb60
2 changed files with 2 additions and 4 deletions

View file

@ -1 +1 @@
Update response schema of `GET /_matrix/client/v3/profile/{userId}` to clarify that properties other than `displayname` or `avatar_url` can be returned.
Don't mention that `GET /_matrix/client/v3/profile/{userId}` can return additional properties because this is true for almost every endpoint.

View file

@ -195,8 +195,7 @@ paths:
description: |-
Get the combined profile information for this user. This API may be used
to fetch the user's own profile information or other users; either
locally or on remote homeservers. This API may return keys which are not
limited to `displayname` or `avatar_url`.
locally or on remote homeservers.
operationId: getUserProfile
parameters:
- in: path
@ -222,7 +221,6 @@ paths:
type: string
description: The user's display name if they have set one, otherwise not
present.
additionalProperties: {}
examples:
response:
value: {