Getting weird warning.
AsP0014: Suggest using top level route registrations
app.UseEndpoints(endpoints => { endpoints.MapControllers(); endpoints.SetupHealthChecksEndpoints(); });
My HealthCheck is 'Healthy' whereas HealthCheckUI is 'UnHealthy' Error Endpoint.
Pleae help to resolve.