Skip to content

Commit

Permalink
feat(instance): add missing instance properties (#298)
Browse files Browse the repository at this point in the history
Add some properties that were missing from the spec but are returned
by the api.
  • Loading branch information
ttshivers authored Apr 8, 2024
1 parent a6cc2fe commit a766dcb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions openapi/components/schemas/Instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,31 @@ properties:
$ref: ./UserID.yaml
private:
$ref: ./UserID.yaml
queueEnabled:
type: boolean
queueSize:
type: integer
minimum: 0
example: 6
recommendedCapacity:
type: integer
minimum: 0
example: 6
roleRestricted:
type: boolean
strict:
type: boolean
userCount:
type: integer
minimum: 0
example: 6
world:
$ref: ./World.yaml
users:
description: 'The users field is present on instances created by the requesting user.'
type: array
items:
$ref: ./LimitedUser.yaml
required:
- active
- canRequestInvite
Expand All @@ -98,3 +123,10 @@ required:
- tags
- type
- worldId
- queueEnabled
- queueSize
- recommendedCapacity
- roleRestricted
- strict
- userCount
- world

0 comments on commit a766dcb

Please sign in to comment.