OpenAPI spec and generation script to build (Valhalla-flavored) OSRM Models for various platforms.
The model generations script requires the openapi-generator and swiftformat cli tools. To install these using brew, run the following command. For more information see OpenAPI Generator Install and SwiftFormat Install.
brew install openapi-generator swiftformat
./generate_models.sh swift
--clean
delete the .build and generated folder.
- OpenAPI spec based on https://github.com/1papaya/osrm-openapi, released under the MIT license