aboutsummaryrefslogtreecommitdiff
path: root/src/Enmarcha.Backend/Configuration/AppConfiguration.cs
blob: f52c89e339fad3f3a55a807991ebf04533dcd0e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 OpenTelemetryConfiguration? OpenTelemetry { get; set; }
}

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