From da50234be0746e6ead0364bab5c7f0eaf4e221c8 Mon Sep 17 00:00:00 2001 From: mattyturner Date: Tue, 9 Apr 2024 16:08:32 -0700 Subject: [PATCH 1/3] "type" property must be a string --- docs/reference/terminal49/terminal49.v1.json | 36 +++++++------------- 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/docs/reference/terminal49/terminal49.v1.json b/docs/reference/terminal49/terminal49.v1.json index 7f03147a..a3f7ef2b 100644 --- a/docs/reference/terminal49/terminal49.v1.json +++ b/docs/reference/terminal49/terminal49.v1.json @@ -5303,10 +5303,8 @@ "type": "object", "properties": { "data": { - "type": [ - "object", - "null" - ], + "type": "object", + "nullable": true, "properties": { "type": { "type": "string", @@ -5331,10 +5329,8 @@ "type": "object", "properties": { "data": { - "type": [ - "object", - "null" - ], + "type": "object", + "nullable": true, "properties": { "type": { "type": "string", @@ -5385,10 +5381,8 @@ "type": "object", "properties": { "data": { - "type": [ - "object", - "null" - ], + "type": "object", + "nullable": true, "properties": { "type": { "type": "string", @@ -6373,10 +6367,8 @@ "type": "object", "properties": { "data": { - "type": [ - "object", - "null" - ], + "type": "object", + "nullable": true, "properties": { "id": { "type": "string", @@ -7035,10 +7027,8 @@ "type": "object", "properties": { "data": { - "type": [ - "object", - "null" - ], + "type": "object", + "nullable": true, "properties": { "id": { "type": "string", @@ -7059,10 +7049,8 @@ "description": "\n", "properties": { "data": { - "type": [ - "object", - "null" - ], + "type": "object", + "nullable": true, "properties": { "id": { "type": "string", From ef4cf1d3daf0c5af15425f374afd86adeefcd236 Mon Sep 17 00:00:00 2001 From: mattyturner Date: Tue, 9 Apr 2024 16:10:18 -0700 Subject: [PATCH 2/3] "example" property must a number or null --- docs/reference/terminal49/terminal49.v1.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/terminal49/terminal49.v1.json b/docs/reference/terminal49/terminal49.v1.json index a3f7ef2b..5bcfaa73 100644 --- a/docs/reference/terminal49/terminal49.v1.json +++ b/docs/reference/terminal49/terminal49.v1.json @@ -6705,25 +6705,25 @@ "type": "number", "description": "The current latitude position of the vessel", "nullable": true, - "example": "25.29845" + "example": 25.29845 }, "longitude": { "type": "number", "description": "The current longitude position of the vessel", "nullable": true, - "example": "121.217" + "example": 121.217 }, "nautical_speed_knots": { "type": "number", "description": "The current speed of the ship in knots (nautical miles per hour)", "nullable": true, - "example": "90" + "example": 90 }, "navigational_heading_degrees": { "type": "number", "description": "The current heading of the ship in degrees, where 0 is North, 90 is East, 180 is South, and 270 is West", "nullable": true, - "example": "194" + "example": 194 }, "position_timestamp": { "type": "string", From c058572d70eeefdd191ec4f5a26668f3fb5b8f7d Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 10 May 2024 13:47:35 -0700 Subject: [PATCH 3/3] Remove relative path from internal refs --- docs/reference/terminal49/terminal49.v1.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/reference/terminal49/terminal49.v1.json b/docs/reference/terminal49/terminal49.v1.json index 5bcfaa73..8c1eb0c1 100644 --- a/docs/reference/terminal49/terminal49.v1.json +++ b/docs/reference/terminal49/terminal49.v1.json @@ -777,7 +777,7 @@ "type": "object", "properties": { "data": { - "$ref": "./terminal49.v1.json#/components/schemas/shipment" + "$ref": "#/components/schemas/shipment" } } } @@ -1537,7 +1537,7 @@ "type": "object", "properties": { "data": { - "$ref": "./terminal49.v1.json#/components/schemas/tracking_request" + "$ref": "#/components/schemas/tracking_request" } } } @@ -1629,7 +1629,7 @@ "type": "object", "properties": { "data": { - "$ref": "./terminal49.v1.json#/components/schemas/webhook" + "$ref": "#/components/schemas/webhook" } } } @@ -4024,7 +4024,7 @@ "type": "object", "properties": { "data": { - "$ref": "./terminal49.v1.json#/components/schemas/container" + "$ref": "#/components/schemas/container" } } }