Default parameters in Swagger UI for /pid/departures are invalid/outdated
Hi, I'm just a passerby trying to play with the public transport data API. I wasn't sure where to place this issue, so I searched all issues on here for "Swagger UI" and it showed me this repo.
I used the API back in may and ran into similar issues with the Swagger UI defaults, which is why I'm writing this report.
The example request for /pid/departureboards
throws error on timezone, replace with Europe_Prague
to fix that. Ideally the timeFrom
should be generated from system time, but I think it's okay to leave as-is. limit
and total
really shouldn't be 0. Same with filter
, keep it none
. I also had to remove aswIds
and cisIds
for the query to start working.
Cheers, Adam