Skip to content

Commit

Permalink
CurrentUserPresence instanceType, platform, and status properties are…
Browse files Browse the repository at this point in the history
… now nullable strings (#247)

* Update schema CurrentUser, added schema CurrentUserPresence

* Updated CurrentUserPresence properties referring to instances

* Change CurrentUserPresence instanceType and status properties to nullable string

* CurrentUserStatus properties inatanceType, platform, and status are now nullable strings

as VRChat is returning empty strings instead of undefined properties
  • Loading branch information
VinyarionHyarmendacil authored Jun 17, 2023
1 parent 21de7a6 commit ec59ac0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions openapi/components/schemas/CurrentUserPresence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,23 @@ properties:
type: string
nullable: true
instanceType:
$ref: ./InstanceType.yaml
type: string
description: either an InstanceType or an empty string
nullable: true
isRejoining:
type: string
nullable: true
platform:
$ref: ./Platform.yaml
type: string
description: either a Platform or an empty string
nullable: true
profilePicOverride:
type: string
nullable: true
status:
$ref: ./UserStatus.yaml
type: string
description: either a UserStatus or empty string
nullable: true
travelingToInstance:
type: string
nullable: true
Expand Down

0 comments on commit ec59ac0

Please sign in to comment.