File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 6565 schema :
6666 type : object
6767 description : Settings for the new game and
68- allOf :
69- - $ref : " #/components/schemas/GameSettings"
68+ required : [settings, player]
7069 properties :
7170 player :
7271 $ref : " #/components/schemas/Player"
@@ -77,13 +76,8 @@ paths:
7776
7877 In the future, there might be a mechanism for technical users to create games without joining them,
7978 where this property is optional.
80- allowedGameModes :
81- type : array
82- items :
83- $ref : " #/components/schemas/GameMode"
84- description : |
85- If `gameMode` is not given, the new game will select a random game mode from this array.
86- If both this array and the `gameMode` option are omitted, a game mode will be picked from all available game modes.
79+ settings :
80+ $ref : " #/components/schemas/GameSettings"
8781 /games/{id} :
8882 parameters :
8983 - $ref : " #/components/parameters/pathGameId"
You can’t perform that action at this time.
0 commit comments