Skip to content

Commit c15b02e

Browse files
authored
Merge pull request #5994 from wangyoucao577/bugfix/correct-doc
Fix valid field type in doc
2 parents 5740604 + 4808075 commit c15b02e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Diff for: CHANGELOG.md

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

67
# 5.24.0
78
- Changes from 5.23.0

Diff for: docs/http.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ step.
762762
{ "bearings" : [ 10, 92, 184, 270 ],
763763
"lanes" : [
764764
{ "indications" : [ "left", "straight" ],
765-
"valid" : "false" },
766-
{ "valid" : "true",
765+
"valid" : false },
766+
{ "valid" : true,
767767
"indications" : [ "right" ] }
768768
],
769769
"out" : 2,
@@ -774,9 +774,9 @@ step.
774774
{ "out" : 1,
775775
"lanes" : [
776776
{ "indications" : [ "straight" ],
777-
"valid" : "true" },
777+
"valid" : true },
778778
{ "indications" : [ "right" ],
779-
"valid" : "false" }
779+
"valid" : false }
780780
],
781781
"bearings" : [ 60, 240, 330 ],
782782
"in" : 0,
@@ -884,7 +884,7 @@ A `Lane` represents a turn lane at the corresponding turn location.
884884
```json
885885
{
886886
"indications": ["left", "straight"],
887-
"valid": "false"
887+
"valid": false
888888
}
889889
```
890890

@@ -919,7 +919,7 @@ location of the StepManeuver. Further intersections are listed for every cross-w
919919
"classes": ["toll", "restricted"],
920920
"lanes":{
921921
"indications": ["left", "straight"],
922-
"valid": "false"
922+
"valid": false
923923
}
924924
}
925925
```

0 commit comments

Comments
 (0)