stadiamaps / osrm-openapi

OpenAPI spec for Valhalla-flavored OSRM Models
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

OSRM OpenAPI

OpenAPI spec and generation script to build (Valhalla-flavored) OSRM Models for various platforms.

Building OSRM Models

Setup MacOS

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

Generating Model Code

./generate_models.sh swift

References