{"action":"closed","issue":{"url":"https://api.github.com/repos/CanalTP/navitia/issues/1041","labels_url":"https://api.github.com/repos/CanalTP/navitia/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/CanalTP/navitia/issues/1041/comments","events_url":"https://api.github.com/repos/CanalTP/navitia/issues/1041/events","html_url":"https://github.com/CanalTP/navitia/issues/1041","id":77349877,"number":1041,"title":"Journey API doesn't return an error when datetime is not provided","user":{"login":"RaitoBezarius","id":314564,"avatar_url":"https://avatars.githubusercontent.com/u/314564?v=3","gravatar_id":"","url":"https://api.github.com/users/RaitoBezarius","html_url":"https://github.com/RaitoBezarius","followers_url":"https://api.github.com/users/RaitoBezarius/followers","following_url":"https://api.github.com/users/RaitoBezarius/following{/other_user}","gists_url":"https://api.github.com/users/RaitoBezarius/gists{/gist_id}","starred_url":"https://api.github.com/users/RaitoBezarius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaitoBezarius/subscriptions","organizations_url":"https://api.github.com/users/RaitoBezarius/orgs","repos_url":"https://api.github.com/users/RaitoBezarius/repos","events_url":"https://api.github.com/users/RaitoBezarius/events{/privacy}","received_events_url":"https://api.github.com/users/RaitoBezarius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-17T17:07:20Z","updated_at":"2015-10-08T08:08:06Z","closed_at":"2015-10-08T08:08:06Z","body":"Hi,\r\n\r\nAccording to the documentation, the journey API requires that a datetime is provided in the call.\r\n\r\nBut the truth is that the journey API will silently proceed even without any datetime, returning some default datetime for departure: 13:XX.\r\n\r\nI didn't try to see what can be done with this bug.\r\nEDIT: https://github.com/CanalTP/navitia/blob/df3523038e601b1472551141f90d6ba303ed4145/source/jormungandr/jormungandr/interfaces/v1/Journeys.py#L517\r\nIt seems to be the line which cause this bug. A `required` attribute might be missing here?\r\n\r\nBut it would be cool to return an error that the parameter required is not provided."}}