@@ -88,7 +88,7 @@ paintSchemaJSON = [aesonQQ|
91− "$ref": "#/definitions/Color"
91+ "$ref": "#/components/schemas/Color"
94 "required": ["color"]
94 "required": ["color"]
@@ -181,7 +181,7 @@ userGroupSchemaJSON :: Value
181userGroupSchemaJSON = [aesonQQ|
181userGroupSchemaJSON = [aesonQQ|
183 "type": "array",
183 "type": "array",
184− "items": { "$ref": "#/definitions/UserId" },
184+ "items": { "$ref": "#/components/schemas/UserId" },
185 "uniqueItems": true
185 "uniqueItems": true
@@ -228,7 +228,7 @@ playerSchemaJSON = [aesonQQ|
229 "position":
229 "position":
231− "$ref": "#/definitions/Point"
231+ "$ref": "#/components/schemas/Point"
234 "required": ["position"]
234 "required": ["position"]
@@ -250,7 +250,7 @@ playersSchemaJSON = [aesonQQ|
251 "position":
251 "position":
253− "$ref": "#/definitions/Point"
253+ "$ref": "#/components/schemas/Point"
256 "required": ["position"]
256 "required": ["position"]
@@ -274,14 +274,14 @@ characterSchemaJSON = [aesonQQ|
274 "type": "object",
274 "type": "object",
275 "properties":
275 "properties":
277− "PC": { "$ref": "#/definitions/Player" },
277+ "PC": { "$ref": "#/components/schemas/Player" },
280 "type": "object",
280 "type": "object",
281 "properties":
281 "properties":
283 "npcName": { "type": "string" },
283 "npcName": { "type": "string" },
284− "npcPosition": { "$ref": "#/definitions/Point" }
284+ "npcPosition": { "$ref": "#/components/schemas/Point" }
286 "required": ["npcName", "npcPosition"]
286 "required": ["npcName", "npcPosition"]
@@ -353,7 +353,7 @@ characterInlinedPlayerSchemaJSON = [aesonQQ|
354 "position":
354 "position":
356− "$ref": "#/definitions/Point"
356+ "$ref": "#/components/schemas/Point"
359 "required": ["position"]
359 "required": ["position"]
@@ -364,7 +364,7 @@ characterInlinedPlayerSchemaJSON = [aesonQQ|
364 "properties":
364 "properties":
366 "npcName": { "type": "string" },
366 "npcName": { "type": "string" },
367− "npcPosition": { "$ref": "#/definitions/Point" }
367+ "npcPosition": { "$ref": "#/components/schemas/Point" }
369 "required": ["npcName", "npcPosition"]
369 "required": ["npcName", "npcPosition"]
@@ -482,7 +482,7 @@ myRoseTreeSchemaJSON = [aesonQQ|
482 "type": "array",
482 "type": "array",
485− "$ref": "#/definitions/RoseTree"
485+ "$ref": "#/components/schemas/RoseTree"
@@ -511,7 +511,7 @@ myRoseTreeSchemaJSON' = [aesonQQ|
511 "type": "array",
511 "type": "array",
514− "$ref": "#/definitions/myrosetree'"
514+ "$ref": "#/components/schemas/myrosetree'"
@@ -553,7 +553,7 @@ lightSchemaJSON = [aesonQQ|
554 "NoLight": { "type": "array", "items": {}, "maxItems": 0, "example": [] },
554 "NoLight": { "type": "array", "items": {}, "maxItems": 0, "example": [] },
555 "LightFreq": { "type": "number", "format": "double" },
555 "LightFreq": { "type": "number", "format": "double" },
556− "LightColor": { "$ref": "#/definitions/Color" },
556+ "LightColor": { "$ref": "#/components/schemas/Color" },
557 "LightWaveLength": { "type": "number", "format": "double" }
557 "LightWaveLength": { "type": "number", "format": "double" }
559 "maxProperties": 1,
559 "maxProperties": 1,