diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-09 00:00:39 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-03-09 00:00:50 +0100 |
| commit | d71f0ed16d175285f2e8cbde6091994c2aa1d962 (patch) | |
| tree | e8b0bcc3f432fa9d5243dd4595af256511643151 /src/Enmarcha.Sources.OpenTripPlannerGql | |
| parent | 5288cfbed34f94c4321b8d9dc497cfd0da3ffd26 (diff) | |
Enhance route details handling and add favorites functionality; improve error logging and response structure
Diffstat (limited to 'src/Enmarcha.Sources.OpenTripPlannerGql')
| -rw-r--r-- | src/Enmarcha.Sources.OpenTripPlannerGql/Queries/RouteDetailsContent.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/RouteDetailsContent.cs b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/RouteDetailsContent.cs index 59a0991..2891b63 100644 --- a/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/RouteDetailsContent.cs +++ b/src/Enmarcha.Sources.OpenTripPlannerGql/Queries/RouteDetailsContent.cs @@ -44,6 +44,8 @@ public class RouteDetailsContent : IGraphRequest<RouteDetailsContent.Args> tripsForDate(serviceDate: "{{args.ServiceDate}}") { stoptimes { scheduledDeparture + pickupType + dropoffType } } } @@ -108,5 +110,7 @@ public class RouteDetailsResponse : AbstractGraphResponse public class StoptimeItem { [JsonPropertyName("scheduledDeparture")] public int ScheduledDeparture { get; set; } + [JsonPropertyName("pickupType")] public string? PickupType { get; set; } + [JsonPropertyName("dropoffType")] public string? DropoffType { get; set; } } } |
