Incorrect type for 'children' property in StopPoint swagger spec?


#1

The Swagger documentation for the endpoint /StopPoint/{ids} states that a ‘Place’ type will be returned for the ‘children’ property in a StopPoint. However it seems that the type is actually a ‘StopPoint’

"children": [
      {
        "$type": "Tfl.Api.Presentation.Entities.StopPoint, Tfl.Api.Presentation.Entities",
        "naptanId": "9100ACOCKSG",
        "modes": [
          "national-rail"
        ],
...

For example https://api.tfl.gov.uk/StopPoint/910GACOCKSG,910GBGRN

Make sense to me, but perhaps the swagger specification is wrong and needs updating?