mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-24 14:00:14 +01:00
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:
commit
d2663cd2e8
@ -16,7 +16,10 @@
|
||||
"type": {
|
||||
"$ref": "./ShipType.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
]
|
||||
}
|
||||
},
|
||||
"transactions": {
|
||||
|
@ -58,6 +58,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"symbol",
|
||||
"name",
|
||||
"description",
|
||||
|
@ -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",
|
||||
|
11
models/WaypointModifierSymbol.json
Normal file
11
models/WaypointModifierSymbol.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"type": "string",
|
||||
"description": "The unique identifier of the modifier.",
|
||||
"enum": [
|
||||
"STRIPPED",
|
||||
"UNSTABLE",
|
||||
"RADIATION_LEAK",
|
||||
"CRITICAL_LIMIT",
|
||||
"CIVIL_UNREST"
|
||||
]
|
||||
}
|
@ -867,7 +867,7 @@
|
||||
"description": ""
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"201": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
|
Loading…
Reference in New Issue
Block a user