aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Configuration/AppConfiguration.cs
blob: 8c6e4117ad8fe43dc1336792aba380d0d2bc2bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Enmarcha.Backend.Configuration;

public class AppConfiguration
{
    public required string OpenTripPlannerBaseUrl { get; set; }
    public required string GeoapifyApiKey { get; set; }
    public string NominatimBaseUrl { get; set; } = "https://nominatim.openstreetmap.org";
    public string[] OtpFeeds { get; set; } = [];
    public OpenTelemetryConfiguration? OpenTelemetry { get; set; }
}

public class OpenTelemetryConfiguration
{
    public string? Endpoint { get; set; }
    public string? Headers { get; set; }
}