hasadna / open-bus-stride-api

MIT License
5 stars 14 forks source link

date/time example is wrong #13

Closed OriHoch closed 9 months ago

OriHoch commented 2 years ago

the date/time examples shows hour 55

image

shootermv commented 9 months ago

what endpoint has a problematic docs? is it /gtfs_ride_stops/list?

OriHoch commented 9 months ago

all endpoints have this problem, including /gtfs_ride_stops/list

shootermv commented 9 months ago

i can see - the endpoint returns data when passing date time values... image which means - the problem not exists? or im missing something?

OriHoch commented 9 months ago

the problem is in the /docs endpoint -

image

shootermv commented 9 months ago

now i can see - the problem is with field gtfs_ride__start_time_from it says in the docs it should get date-time values, but when such value passed - the swagger throws validation error...

shootermv commented 9 months ago

the question is - what kind of change is needed? is the field actually getting some other type of value? (like 10:30) or - there is some error and field should get datetime value (as docs say) but it currently wont?

OriHoch commented 9 months ago

need to fix the example to show a valid date/time with normal hour (e.g. instead of 55 show hour 15)