Skip to content

Commit 0ff3730

Browse files
committed
Fix Side enum to show correct possibilities ('1', '2' or '3')
1 parent d90e49c commit 0ff3730

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

documentation/docs/event_schema.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,16 @@ components:
345345
type: string
346346
nullable: true
347347
description: Represents a side (CT vs T). `null` if no side. Represented as an integer enum.
348-
enum:
349-
- ct
350-
- t
351-
- spec
348+
oneOf:
349+
- title: CT
350+
const: '1'
351+
description: The string '1' represents the CT side
352+
- title: T
353+
const: '2'
354+
description: The string '2' represents the T side
355+
- title: Spectate
356+
const: '3'
357+
description: The string '3' represents a spectator
352358
MatchZyTeamWrapper:
353359
type: object
354360
description: Describes a team (`Team1` or `Team2`).

0 commit comments

Comments
 (0)