Skip to content

Commit

Permalink
Add version 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
habrahamsson-skanetrafiken committed Oct 1, 2024
1 parent 14a53d9 commit 9c8acf6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions doc/user/BuildConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Sections follow that describe particular settings in more depth.
|       [sharedGroupFilePattern](#tf_1_sharedGroupFilePattern) | `regexp` | Pattern for matching shared group NeTEx files in a NeTEx bundle. | *Optional* | `"(\w{3})-.*-shared\.xml"` | 2.0 |
|       source | `uri` | The unique URI pointing to the data file. | *Required* | | 2.2 |
|       [ferryIdsNotAllowedForBicycle](#tf_1_ferryIdsNotAllowedForBicycle) | `string[]` | List ferries which do not allow bikes. | *Optional* | | 2.0 |
| [transitRouteToStationCentroid](#transitRouteToStationCentroid) | `feed-scoped-id[]` | List stations that should route to centroid. | *Optional* | | 2.6 |
| [transitRouteToStationCentroid](#transitRouteToStationCentroid) | `feed-scoped-id[]` | List stations that should route to centroid. | *Optional* | | 2.7 |

<!-- PARAMETERS-TABLE END -->

Expand Down Expand Up @@ -1070,7 +1070,7 @@ case where this is not the case.

<h3 id="transitRouteToStationCentroid">transitRouteToStationCentroid</h3>

**Since version:** `2.6`**Type:** `feed-scoped-id[]`**Cardinality:** `Optional`
**Since version:** `2.7`**Type:** `feed-scoped-id[]`**Cardinality:** `Optional`
**Path:** /

List stations that should route to centroid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import static org.opentripplanner.standalone.config.framework.json.OtpVersion.V2_1;
import static org.opentripplanner.standalone.config.framework.json.OtpVersion.V2_2;
import static org.opentripplanner.standalone.config.framework.json.OtpVersion.V2_5;
import static org.opentripplanner.standalone.config.framework.json.OtpVersion.V2_6;
import static org.opentripplanner.standalone.config.framework.json.OtpVersion.V2_7;

import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.MissingNode;
Expand Down Expand Up @@ -439,7 +439,7 @@ to check in to a flight (2-3 hours for international flights) than to alight and
transitRouteToStationCentroid =
root
.of("transitRouteToStationCentroid")
.since(V2_6)
.since(V2_7)
.summary("List stations that should route to centroid.")
.description(
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ public enum OtpVersion {
V2_3("2.3"),
V2_4("2.4"),
V2_5("2.5"),
V2_6("2.6");
V2_6("2.6"),
V2_7("2.7");

private final String text;

Expand Down

0 comments on commit 9c8acf6

Please sign in to comment.