Merge pull request #80 from kjackson1998/shipyard-shiptype-not-optional

Various fixes: Shipyard.shiptyps.type, supply-contruction:201, enum normalizing
This commit is contained in:
SpaceAdmiral 2023-12-05 08:34:19 -08:00 committed by GitHub
commit d2663cd2e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 11 deletions

View File

@ -16,7 +16,10 @@
"type": {
"$ref": "./ShipType.json"
}
}
},
"required": [
"type"
]
}
},
"transactions": {

View File

@ -58,6 +58,7 @@
}
},
"required": [
"type",
"symbol",
"name",
"description",

View File

@ -2,15 +2,7 @@
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The unique identifier of the modifier.",
"enum": [
"STRIPPED",
"UNSTABLE",
"RADIATION_LEAK",
"CRITICAL_LIMIT",
"CIVIL_UNREST"
]
"$ref": "./WaypointModifierSymbol.json"
},
"name": {
"type": "string",

View File

@ -0,0 +1,11 @@
{
"type": "string",
"description": "The unique identifier of the modifier.",
"enum": [
"STRIPPED",
"UNSTABLE",
"RADIATION_LEAK",
"CRITICAL_LIMIT",
"CIVIL_UNREST"
]
}

View File

@ -867,7 +867,7 @@
"description": ""
},
"responses": {
"200": {
"201": {
"content": {
"application/json": {
"schema": {