Merge pull request #5994 from wangyoucao577/bugfix/correct-doc

Fix valid field type in doc
This commit is contained in:
Michael Bell 2021-03-26 16:32:03 +00:00 committed by GitHub
commit c15b02ecf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -2,6 +2,7 @@
- Changes from 5.24.0 - Changes from 5.24.0
- Misc: - Misc:
- FIXED: Upgrade to @mapbox/node-pre-gyp fix various bugs with Node 12/14 [#5991](https://github.com/Project-OSRM/osrm-backend/pull/5991) - FIXED: Upgrade to @mapbox/node-pre-gyp fix various bugs with Node 12/14 [#5991](https://github.com/Project-OSRM/osrm-backend/pull/5991)
- FIXED: `valid` type in documentation examples [#5990](https://github.com/Project-OSRM/osrm-backend/issues/5990)
# 5.24.0 # 5.24.0
- Changes from 5.23.0 - Changes from 5.23.0

View File

@ -762,8 +762,8 @@ step.
{ "bearings" : [ 10, 92, 184, 270 ], { "bearings" : [ 10, 92, 184, 270 ],
"lanes" : [ "lanes" : [
{ "indications" : [ "left", "straight" ], { "indications" : [ "left", "straight" ],
"valid" : "false" }, "valid" : false },
{ "valid" : "true", { "valid" : true,
"indications" : [ "right" ] } "indications" : [ "right" ] }
], ],
"out" : 2, "out" : 2,
@ -774,9 +774,9 @@ step.
{ "out" : 1, { "out" : 1,
"lanes" : [ "lanes" : [
{ "indications" : [ "straight" ], { "indications" : [ "straight" ],
"valid" : "true" }, "valid" : true },
{ "indications" : [ "right" ], { "indications" : [ "right" ],
"valid" : "false" } "valid" : false }
], ],
"bearings" : [ 60, 240, 330 ], "bearings" : [ 60, 240, 330 ],
"in" : 0, "in" : 0,
@ -884,7 +884,7 @@ A `Lane` represents a turn lane at the corresponding turn location.
```json ```json
{ {
"indications": ["left", "straight"], "indications": ["left", "straight"],
"valid": "false" "valid": false
} }
``` ```
@ -919,7 +919,7 @@ location of the StepManeuver. Further intersections are listed for every cross-w
"classes": ["toll", "restricted"], "classes": ["toll", "restricted"],
"lanes":{ "lanes":{
"indications": ["left", "straight"], "indications": ["left", "straight"],
"valid": "false" "valid": false
} }
} }
``` ```