From 49e925eee85cf9cc44a9b0492d23113cb2769c8b Mon Sep 17 00:00:00 2001 From: Space Admiral Date: Tue, 14 Mar 2023 09:17:20 -0700 Subject: [PATCH 1/2] update: add waypoint symbol to market transaction --- models/MarketTransaction.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/models/MarketTransaction.json b/models/MarketTransaction.json index 56234b1..08d1367 100644 --- a/models/MarketTransaction.json +++ b/models/MarketTransaction.json @@ -1,6 +1,10 @@ { "type": "object", "properties": { + "waypointSymbol": { + "type": "string", + "description": "The symbol of the waypoint where the transaction took place." + }, "shipSymbol": { "type": "string", "description": "The symbol of the ship that made the transaction." @@ -39,11 +43,13 @@ } }, "required": [ - "symbol", + "waypointSymbol", + "shipSymbol", + "tradeSymbol", "type", "units", "pricePerUnit", - "shipSymbol", + "totalPrice", "timestamp" ] } \ No newline at end of file From d387a4e94daac7e4bf400c93a4f6f79190eb1a52 Mon Sep 17 00:00:00 2001 From: Dmitrij Schmidt Date: Sat, 1 Apr 2023 14:13:22 +0200 Subject: [PATCH 2/2] fix: update Get Shipyard endpoint description --- reference/SpaceTraders.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index 7443b0a..89f1d6d 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -444,7 +444,7 @@ }, "/systems/{systemSymbol}/waypoints/{waypointSymbol}/shipyard": { "get": { - "description": "Get the shipyard for a waypoint.", + "description": "Get the shipyard for a waypoint. Send a ship to the waypoint to access ships that are currently available for purchase and recent transactions.", "operationId": "get-shipyard", "responses": { "200": { @@ -2452,4 +2452,4 @@ } } } -} \ No newline at end of file +}