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: |- description: |-
Get the combined profile information for this user. This API may be used 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 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 locally or on remote homeservers.
limited to `displayname` or `avatar_url`.
operationId: getUserProfile operationId: getUserProfile
parameters: parameters:
- in: path - in: path
@ -222,7 +221,6 @@ paths:
type: string type: string
description: The user's display name if they have set one, otherwise not description: The user's display name if they have set one, otherwise not
present. present.
additionalProperties: {}
examples: examples:
response: response:
value: { value: {