Merge pull request #9 from brct-james/v2-improvements

Pagination Params, Typo Fix
This commit is contained in:
SpaceAdmiral 2023-01-02 10:03:28 -08:00 committed by GitHub
commit 8ebbd07bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 93 additions and 1 deletions

2
.spectral.mjs Normal file
View File

@ -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 };

View File

@ -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": {