File tree Expand file tree Collapse file tree
application/src/main/resources/org/opentripplanner/apis/gtfs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ directive @specifiedBy(
3939 url : String !
4040 ) on SCALAR
4141
42+ "Add timing data to prometheus, if Actuator API is enabled"
43+ directive @timingData on FIELD_DEFINITION
44+
4245"A fare product (a ticket) to be bought by a passenger"
4346interface FareProduct {
4447 "Identifier for the fare product."
@@ -1735,7 +1738,7 @@ type QueryType {
17351738 searchWindow : Duration ,
17361739 "The list of points the itinerary is required to pass through."
17371740 via : [PlanViaLocationInput ! ]
1738- ): PlanConnection @async
1741+ ): PlanConnection @async @timingData
17391742 "Get a single rental vehicle based on its ID, i.e. value of field `vehicleId`"
17401743 rentalVehicle (id : String ! ): RentalVehicle
17411744 "Get all rental vehicles"
You can’t perform that action at this time.
0 commit comments