'servers' should be a dict of dicts, not a list of dicts in rest-api.yml

This commit is contained in:
tfmark
2023-05-24 16:09:26 +01:00
parent c359221ef3
commit 4cdf0a65cd

View File

@@ -1202,13 +1202,13 @@ components:
description: Timestamp of last-seen activity from the user description: Timestamp of last-seen activity from the user
format: date-time format: date-time
servers: servers:
type: array type: object
description: | description: |
The servers for this user. The servers for this user.
By default: only includes _active_ servers. By default: only includes _active_ servers.
Changed in 3.0: if `?include_stopped_servers` parameter is specified, Changed in 3.0: if `?include_stopped_servers` parameter is specified,
stopped servers will be included as well. stopped servers will be included as well.
items: additionalProperties:
$ref: "#/components/schemas/Server" $ref: "#/components/schemas/Server"
auth_state: auth_state:
type: object type: object