Skip to content

Commit 40406e9

Browse files
committed
feat: add constellation and system name
1 parent af83978 commit 40406e9

File tree

3 files changed

+28
-9
lines changed

3 files changed

+28
-9
lines changed

models/System.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
"minLength": 1,
1313
"description": "The symbol of the sector."
1414
},
15+
"constellation": {
16+
"type": "string",
17+
"description": "The constellation that the system is part of."
18+
},
19+
"name": {
20+
"type": "string",
21+
"description": "The name of the system."
22+
},
1523
"type": {
1624
"$ref": "./SystemType.json"
1725
},

models/TradeSymbol.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
"FRAME_DESTROYER",
8989
"FRAME_CRUISER",
9090
"FRAME_CARRIER",
91+
"FRAME_BULK_FREIGHTER",
9192
"REACTOR_SOLAR_I",
9293
"REACTOR_FUSION_I",
9394
"REACTOR_FISSION_I",
@@ -143,7 +144,8 @@
143144
"SHIP_LIGHT_SHUTTLE",
144145
"SHIP_ORE_HOUND",
145146
"SHIP_REFINING_FREIGHTER",
146-
"SHIP_SURVEYOR"
147+
"SHIP_SURVEYOR",
148+
"SHIP_BULK_FREIGHTER"
147149
],
148150
"description": "The good's symbol."
149151
}

reference/SpaceTraders.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"openapi": "3.1.1",
2+
"openapi": "3.0.1",
33
"info": {
44
"title": "SpaceTraders API",
55
"version": "2.3.0",
@@ -356,7 +356,7 @@
356356
}
357357
}
358358
},
359-
"description": "Succesfully registered."
359+
"description": "Successfully registered."
360360
}
361361
},
362362
"summary": "Register New Agent",
@@ -990,7 +990,7 @@
990990
}
991991
}
992992
},
993-
"description": "Succesfully fetched factions."
993+
"description": "Successfully fetched factions."
994994
}
995995
},
996996
"summary": "List Factions",
@@ -1249,7 +1249,7 @@
12491249
}
12501250
}
12511251
},
1252-
"description": "Succesfully listed contracts."
1252+
"description": "Successfully listed contracts."
12531253
}
12541254
},
12551255
"security": [
@@ -1365,7 +1365,7 @@
13651365
}
13661366
}
13671367
},
1368-
"description": "Succesfully accepted contract."
1368+
"description": "Successfully accepted contract."
13691369
}
13701370
},
13711371
"security": [
@@ -1566,7 +1566,7 @@
15661566
}
15671567
}
15681568
},
1569-
"description": "Succesfully listed ships."
1569+
"description": "Successfully listed ships."
15701570
}
15711571
},
15721572
"security": [
@@ -2038,7 +2038,7 @@
20382038
}
20392039
}
20402040
},
2041-
"description": "Succesfully fetched ship's cooldown."
2041+
"description": "Successfully fetched ship's cooldown."
20422042
},
20432043
"204": {
20442044
"description": "No cooldown."
@@ -2271,7 +2271,7 @@
22712271
},
22722272
"/my/ships/{shipSymbol}/siphon": {
22732273
"post": {
2274-
"description": "Siphon gases, such as hydrocarbon, from gas giants.\n\nThe ship must be in orbit to be able to siphon and must have siphon mounts and a gas processor installed.",
2274+
"description": "Siphon gases or other resources from gas giants.\n\nThe ship must be in orbit to be able to siphon and must have siphon mounts and a gas processor installed.",
22752275
"operationId": "siphon-resources",
22762276
"responses": {
22772277
"201": {
@@ -3920,6 +3920,10 @@
39203920
"summary": "Get Supply Chain",
39213921
"description": "Describes which import and exports map to each other.",
39223922
"parameters": [],
3923+
<<<<<<< Updated upstream
3924+
=======
3925+
"tags": ["Data"],
3926+
>>>>>>> Stashed changes
39233927
"operationId": "get-supply-chain",
39243928
"responses": {
39253929
"200": {
@@ -3928,6 +3932,10 @@
39283932
"application/json": {
39293933
"schema": {
39303934
"type": "object",
3935+
<<<<<<< Updated upstream
3936+
=======
3937+
3938+
>>>>>>> Stashed changes
39313939
"properties": {
39323940
"data": {
39333941
"type": "object",
@@ -4212,6 +4220,7 @@
42124220
"content": {
42134221
"application/json": {
42144222
"schema": {
4223+
"title": "Remove Module 201 Response",
42154224
"type": "object",
42164225
"required": [
42174226
"data"

0 commit comments

Comments
 (0)