Skip to content
This repository has been archived by the owner on Dec 21, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 898 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 898 Bytes

Deprecated Notice

The sources in this repository are outdated. Instead create fresh sources from within the browser (click on 'Generate Client') or via docker where more languages like ruby are possible:

docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate \
    -i https://docs.graphhopper.com/openapi.json
    -g go \
    -o /local/out/go

To improve the naming of the classes you can do the following:

curl https://docs.graphhopper.com/openapi.yaml | sed -e 's/Matrix API/Matrix/g' | sed -e 's/Routing API/Routing/g' | sed -e 's/Geocoding API/Geocoding/g' | sed -e 's/Route Optimization API/Route Optimization/g' | sed -e 's/Map Matching API/Map Matching/g' | sed -e 's/Isochrone API/Isochrone/g' > openapi.yaml

Old Readme

See old readme.