Latest openapi definition file

I just joined the community, and trying to use the optimization and geocode functions.
However I cannot find an swagger file including this features, and the latest I found was for version 5.0.2.

Please point me in the right direction.

Thanks in advance

Hi @Csaba_Gulyas,

the swagger (2.0) file used in our API playground is available on:
https://openrouteservice.org/wp-json/ors-api/v1/api-doc/source/V2

Please be aware that this is a result of merging multiple swagger files in one and contains custom keys in descriptions. We use them for e.g. defining dependencies between parameters.
So it might not work out of the box for what you want to do with it.

Best regards

Hello Amadus!

Thanks a lot!

/Csaba

Hello,
Where I can find the openapi.yaml for Dashboard | ORS endpoints.?
It seems old https://openrouteservice.org/wp-json/ors-api/v1/api-doc/source/V2 , Matrix response doesn’t match.

Please let me know from where I can download the latest and correct yaml then I would like to integrate into my project.

Also, in Help of responses its not correct:

Many Thanks!

Hi @Rocky,

9.1.0 will be available the day after it is deployed to our live API.
You can also clone our repo and run a local instance to get a swagger UI with the latest specs:

Could you open an issue for the matrix response documentation?

Best regards