Revert accidentally pushed commits

This reverts commits:
c11991f9de.
f8bf0fa0ac.
7abdd45c06.
92db4e20da.
This commit is contained in:
Alexey Rusakov 2022-05-27 18:22:16 +02:00
parent 92db4e20da
commit e38c4e6f17
4 changed files with 1 additions and 7 deletions

View file

@ -126,7 +126,6 @@ paths:
description: The ID of the room in which the event was posted. description: The ID of the room in which the event was posted.
ts: ts:
type: integer type: integer
format: int64
description: |- description: |-
The unix timestamp at which the event notification was sent, The unix timestamp at which the event notification was sent,
in milliseconds. in milliseconds.

View file

@ -56,7 +56,6 @@ paths:
displayname: displayname:
type: string type: string
description: The new display name for this user. description: The new display name for this user.
required: ["displayname"]
responses: responses:
200: 200:
description: The display name was set. description: The display name was set.
@ -132,7 +131,6 @@ paths:
type: string type: string
format: uri format: uri
description: The new avatar URL for this user. description: The new avatar URL for this user.
required: ["avatar_url"]
responses: responses:
200: 200:
description: The avatar URL was set. description: The avatar URL was set.

View file

@ -352,10 +352,9 @@ paths:
example: "ihatebananas" example: "ihatebananas"
logout_devices: logout_devices:
type: boolean type: boolean
default: true
description: |- description: |-
Whether the user's other access tokens, and their associated devices, should be Whether the user's other access tokens, and their associated devices, should be
revoked if the request succeeds. revoked if the request succeeds. Defaults to true.
When `false`, the server can still take advantage of the [soft logout method](/client-server-api/#soft-logout) When `false`, the server can still take advantage of the [soft logout method](/client-server-api/#soft-logout)
for the user's remaining devices. for the user's remaining devices.

View file

@ -54,8 +54,6 @@ doesn't work, as in the following example:
properties: properties:
... ...
``` ```
This can only be used to define the type of named properties. In particular,
the current tooling does not support `oneOf` inside `additionalProperties`.
## OpenAPI 3's "2xx" format for response codes ## OpenAPI 3's "2xx" format for response codes