diff --git a/src/main/java/org/opentripplanner/apis/transmodel/model/plan/TripQuery.java b/src/main/java/org/opentripplanner/apis/transmodel/model/plan/TripQuery.java index 6906044c1be..5ed3264a4fd 100644 --- a/src/main/java/org/opentripplanner/apis/transmodel/model/plan/TripQuery.java +++ b/src/main/java/org/opentripplanner/apis/transmodel/model/plan/TripQuery.java @@ -53,7 +53,7 @@ public static GraphQLFieldDefinition create( .description( "The date and time for the earliest time the user is willing to start the journey " + "(if `false` or not set) or the latest acceptable time of arriving " + - "(`true`). Defaults to now" + "(`true`). Defaults to now." ) .type(gqlUtil.dateTimeScalar) .build() @@ -65,8 +65,8 @@ public static GraphQLFieldDefinition create( .description( """ The date and time for the latest time the user is expected to book the journey. - Normally this is when the search is performed(now), plus a small grace period to - complete the booking. Services witch must be booked before this time is excluded. The + Normally this is when the search is performed (now), plus a small grace period to + complete the booking. Services which must be booked before this time is excluded. The `latestBookingTime` and `minimumBookingPeriod` in `BookingArrangement` (flexible services only) is used to enforce this. If this parameter is _not set_, no booking-time restrictions are applied - all journeys are listed. diff --git a/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql b/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql index 2850c57ed30..426de70ebcc 100644 --- a/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql +++ b/src/main/resources/org/opentripplanner/apis/transmodel/schema.graphql @@ -794,14 +794,14 @@ type QueryType { boardSlackList: [TransportModeSlack], """ The date and time for the latest time the user is expected to book the journey. - Normally this is when the search is performed(now), plus a small grace period to - complete the booking. Services witch must be booked before this time is excluded. The + Normally this is when the search is performed (now), plus a small grace period to + complete the booking. Services which must be booked before this time is excluded. The `latestBookingTime` and `minimumBookingPeriod` in `BookingArrangement` (flexible services only) is used to enforce this. If this parameter is _not set_, no booking-time restrictions are applied - all journeys are listed. """ bookingTime: DateTime, - "The date and time for the earliest time the user is willing to start the journey (if `false` or not set) or the latest acceptable time of arriving (`true`). Defaults to now" + "The date and time for the earliest time the user is willing to start the journey (if `false` or not set) or the latest acceptable time of arriving (`true`). Defaults to now." dateTime: DateTime, "Debug the itinerary-filter-chain. OTP will attach a system notice to itineraries instead of removing them. This is very convenient when tuning the filters." debugItineraryFilter: Boolean = false @deprecated(reason : "Use `itineraryFilter.debug` instead."),