diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-02-11 17:56:31 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-02-11 17:56:37 +0100 |
| commit | 06c873557d7842b015a4eb3e7ed02e27a6177824 (patch) | |
| tree | 93e96741908ebf3a7e737da510b2bf59c251928a /src/Enmarcha.Sources.OpenTripPlannerGql/Queries | |
| parent | f977f0e3ec27cf0b26e4c96bebdfec2073c59c5d (diff) | |
fix: Normalize headsign handling and improve destination trimming in arrival processing
Diffstat (limited to 'src/Enmarcha.Sources.OpenTripPlannerGql/Queries')
| -rw-r--r-- | src/Enmarcha.Sources.OpenTripPlannerGql/Queries/ArrivalsAtStop.cs | 3 |
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; } |
