diff --git a/.spectral.mjs b/.spectral.mjs new file mode 100644 index 0000000..cca9041 --- /dev/null +++ b/.spectral.mjs @@ -0,0 +1,2 @@ +import ruleset from "https://stoplight.io/api/v1/projects/cHJqOjE3NTU4OQ/spectral.js?branch=main&token=e4f4ffbe-f8ad-4829-b09f-cf2703afac49"; +export default { extends: ruleset }; diff --git a/reference/SpaceTraders.json b/reference/SpaceTraders.json index 7170af5..6443f28 100644 --- a/reference/SpaceTraders.json +++ b/reference/SpaceTraders.json @@ -72,7 +72,7 @@ "enum": [ "COSMIC", "VOID", - "GALLACTIC", + "GALACTIC", "QUANTUM", "DOMINION", "ASTRO", @@ -189,6 +189,24 @@ "summary": "List Systems", "tags": [ "systems" + ], + "parameters": [ + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "page", + "description": "What entry offset to request" + }, + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "limit", + "description": "How many entries to return per page" + } ] } }, @@ -280,6 +298,24 @@ "summary": "List Waypoints", "tags": [ "systems" + ], + "parameters": [ + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "page", + "description": "What entry offset to request" + }, + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "limit", + "description": "How many entries to return per page" + } ] }, "parameters": [ @@ -551,6 +587,24 @@ "summary": "List Factions", "tags": [ "factions" + ], + "parameters": [ + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "page", + "description": "What entry offset to request" + }, + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "limit", + "description": "How many entries to return per page" + } ] } }, @@ -671,6 +725,24 @@ "summary": "List Contracts", "tags": [ "contracts" + ], + "parameters": [ + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "page", + "description": "What entry offset to request" + }, + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "limit", + "description": "How many entries to return per page" + } ] } }, @@ -960,6 +1032,24 @@ "summary": "List Ships", "tags": [ "fleet" + ], + "parameters": [ + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "page", + "description": "What entry offset to request" + }, + { + "schema": { + "type": "integer" + }, + "in": "query", + "name": "limit", + "description": "How many entries to return per page" + } ] }, "post": {