mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-24 14:00:14 +01:00
update: add waypoint query filters for type and traits
This commit is contained in:
parent
bead15176e
commit
470642fdb2
@ -502,6 +502,32 @@
|
||||
"in": "query",
|
||||
"name": "limit",
|
||||
"description": "How many entries to return per page"
|
||||
},
|
||||
{
|
||||
"description": "Filter waypoints by type.",
|
||||
"in": "query",
|
||||
"name": "type",
|
||||
"schema": {
|
||||
"$ref": "../models/WaypointType.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"description": "Filter waypoints by one or more traits.",
|
||||
"in": "query",
|
||||
"name": "traits",
|
||||
"schema": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "../models/WaypointTrait.json"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../models/WaypointTrait.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"security": [
|
||||
|
Loading…
Reference in New Issue
Block a user