Skip to content

OpenAPI spec for Valhalla-flavored OSRM Models

License

Notifications You must be signed in to change notification settings

Rallista/osrm-openapi

 
 

Repository files navigation

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
  • --clean delete the .build and generated folder.

References

About

OpenAPI spec for Valhalla-flavored OSRM Models

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 93.6%
  • Kotlin 3.7%
  • Shell 2.7%