update: add waypoint query filters for type and traits

This commit is contained in:
SpaceAdmiral 2023-10-26 17:40:39 -07:00
parent bead15176e
commit 470642fdb2

View File

@ -502,6 +502,32 @@
"in": "query", "in": "query",
"name": "limit", "name": "limit",
"description": "How many entries to return per page" "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": [ "security": [