Skip to content

Commit

Permalink
Added flatbuffers schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Chaplygin committed Aug 26, 2019
1 parent 3f34c8d commit f6f86b2
Show file tree
Hide file tree
Showing 9 changed files with 3,643 additions and 0 deletions.
21 changes: 21 additions & 0 deletions include/engine/api/flatbuffers/fbresult.fbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
include "match.fbs";
include "nearest.fbs";
include "route.fbs";
include "table.fbs";
include "trip.fbs";

namespace osrm.engine.api.fbresult;

union ServiceResponse {
match: Match,
nearest: Nearest,
route: Route,
table: Table,
trip: Trip
}

table FBResult {
code: string;
message: string;
response: ServiceResponse;
}
Loading

0 comments on commit f6f86b2

Please sign in to comment.