Closed whyando closed 11 months ago
on /systems/{systemSymbol}/waypoints the spec reads as follows:
{ "description": "Filter waypoints by one or more traits.", "in": "query", "name": "traits", "schema": { "oneOf": [ { "$ref": "#/components/schemas/WaypointTrait" }, { "type": "array", "items": { "$ref": "#/components/schemas/WaypointTrait" } } ] } }
however this means putting a #/components/schemas/WaypointTrait in the query path
#/components/schemas/WaypointTrait
but WaypointTrait is a type object! with 3 required properties: symbol, name, description
obviously this is not the intent of the spec
impact:
This was fixed. It needs to be published to stoplight.
https://github.com/SpaceTradersAPI/api-docs/pull/77
on /systems/{systemSymbol}/waypoints the spec reads as follows:
however this means putting a
#/components/schemas/WaypointTrait
in the query pathbut WaypointTrait is a type object! with 3 required properties: symbol, name, description
obviously this is not the intent of the spec
impact: