Update WikiUrl type in API docs

(cherry picked from commit 9bd619ccfe074abe396bbf043a36a5be18a7ba4b)
This commit is contained in:
Mark McDowall 2025-03-31 19:26:14 -07:00 committed by Bogdan
parent aae34f4c43
commit 1ac784e323

View file

@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Common.Http;
using NzbDrone.Core.HealthCheck;
using Radarr.Http.REST;
@ -11,7 +10,7 @@ namespace Radarr.Api.V3.Health
public string Source { get; set; }
public HealthCheckResult Type { get; set; }
public string Message { get; set; }
public HttpUri WikiUrl { get; set; }
public string WikiUrl { get; set; }
}
public static class HealthResourceMapper
@ -29,7 +28,7 @@ namespace Radarr.Api.V3.Health
Source = model.Source.Name,
Type = model.Type,
Message = model.Message,
WikiUrl = model.WikiUrl
WikiUrl = model.WikiUrl.FullUri
};
}