aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Sources.OpenTripPlannerGql
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-02-11 17:56:31 +0100
committerAriel Costas Guerrero <ariel@costas.dev>2026-02-11 17:56:37 +0100
commit06c873557d7842b015a4eb3e7ed02e27a6177824 (patch)
tree93e96741908ebf3a7e737da510b2bf59c251928a /src/Enmarcha.Sources.OpenTripPlannerGql
parentf977f0e3ec27cf0b26e4c96bebdfec2073c59c5d (diff)
fix: Normalize headsign handling and improve destination trimming in arrival processing
Diffstat (limited to 'src/Enmarcha.Sources.OpenTripPlannerGql')
-rw-r--r--src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs
index 8338373..64e148d 100644
--- a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs
+++ b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs
@@ -37,6 +37,7 @@ public class ArrivalsAtStopContent : IGraphRequest<ArrivalsAtStopContent.Args>
gtfsId
serviceId
routeShortName
+ tripHeadsign
route {{
gtfsId
color
@@ -112,6 +113,8 @@ public class ArrivalsAtStopResponse : AbstractGraphResponse
[JsonPropertyName("routeShortName")] public required string RouteShortName { get; set; }
+ [JsonPropertyName("tripHeadsign")] public string? TripHeadsign { get; set; }
+
[JsonPropertyName("departureStoptime")]
public required DepartureStoptime DepartureStoptime { get; set; }