UnionInternationalCheminsdeFer / OSDM

Projects related to an open sales & distribution API for public transportation.
https://osdm.io
Apache License 2.0
53 stars 21 forks source link

Improve on error handling #390

Open timvandenberg-sqills opened 9 months ago

timvandenberg-sqills commented 9 months ago

Placeholder to discuss the error handling in OSDM.

Example:

Start using the code field in 3.1, with a URN, where:

Improve on the documented values of the response HTTP status codes:

schlpbch commented 9 months ago

Decision: We setup small group to refine the situation lead by @timvandenberg-sqills

jspetrak commented 8 months ago

To implement the updated error handling, error detail object will adhere to updated RFC see #361

schlpbch commented 3 months ago

Presentation and approving on 2024-06-14.

ralfbayer-db commented 1 month ago

Regarding the documentation changes in branch feature/gh-pages-390, we suggest some additions

ralfbayer-db commented 1 month ago

Need to add 429 to the OpenAPI specification

ralfbayer-db commented 1 week ago

We have an inconsistency here: the documentation in https://osdm.io/spec/errors-problems/ specifies that http code 405 should be used. The OpenAPI / YAML specification states http code 406 instead.

We need to define which way we will move this and make it consistent.

ralfbayer-db commented 1 week ago