Skip to content

Commit

Permalink
Merge pull request #241 from HSLdevcom/max_walk_distance
Browse files Browse the repository at this point in the history
More detailed description for 'maxWalkDistance'
  • Loading branch information
vesameskanen committed Aug 20, 2018
2 parents ac4fa61 + cfc85d8 commit 3d2caa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ public IndexGraphQLSchema(GraphIndex index) {
.build())
.argument(GraphQLArgument.newArgument()
.name("maxWalkDistance")
.description("The maximum distance (in meters) the user is willing to walk. Defaults to unlimited.")
.description("The maximum distance (in meters) the user is willing to walk per walking section. If the only transport mode allowed is `WALK`, then the value of this argument is ignored. \n Default: 2000m \n Maximum value: 15000m \n **Note:** If this argument has a relatively small value and only some transport modes are allowed (e.g. `WALK` and `RAIL`), it is possible to get an itinerary which has (useless) back and forth public transport legs to avoid walking too long distances.")
.type(Scalars.GraphQLFloat)
.build())
.argument(GraphQLArgument.newArgument()
Expand Down

0 comments on commit 3d2caa4

Please sign in to comment.