Remove not implemented endpoints from API docs

This commit is contained in:
Bogdan 2024-05-14 02:52:09 +03:00
parent 152f50a1ef
commit 7a303c1ebf
11 changed files with 39 additions and 4 deletions

View File

@ -37,7 +37,7 @@ namespace Radarr.Api.V3.Calendar
}
[NonAction]
protected override MovieResource GetResourceById(int id)
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}

View File

@ -23,6 +23,11 @@ namespace Radarr.Api.V3.Health
}
[NonAction]
public override ActionResult<HealthResource> GetResourceByIdWithErrorHandler(int id)
{
return base.GetResourceByIdWithErrorHandler(id);
}
protected override HealthResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -17,6 +17,11 @@ namespace Radarr.Api.V3.Indexers
}
[NonAction]
public override ActionResult<ReleaseResource> GetResourceByIdWithErrorHandler(int id)
{
return base.GetResourceByIdWithErrorHandler(id);
}
protected override ReleaseResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -18,6 +18,11 @@ namespace Radarr.Api.V3.Movies
}
[NonAction]
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}
protected override MovieResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -39,6 +39,11 @@ namespace Radarr.Api.V3.Movies
}
[NonAction]
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}
protected override MovieResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -60,6 +60,11 @@ namespace Radarr.Api.V3.Queue
}
[NonAction]
public override ActionResult<QueueResource> GetResourceByIdWithErrorHandler(int id)
{
return base.GetResourceByIdWithErrorHandler(id);
}
protected override QueueResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -27,6 +27,11 @@ namespace Radarr.Api.V3.Queue
}
[NonAction]
public override ActionResult<QueueResource> GetResourceByIdWithErrorHandler(int id)
{
return base.GetResourceByIdWithErrorHandler(id);
}
protected override QueueResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -31,6 +31,11 @@ namespace Radarr.Api.V3.Queue
}
[NonAction]
public override ActionResult<QueueStatusResource> GetResourceByIdWithErrorHandler(int id)
{
return base.GetResourceByIdWithErrorHandler(id);
}
protected override QueueStatusResource GetResourceById(int id)
{
throw new NotImplementedException();

View File

@ -33,7 +33,7 @@ namespace Radarr.Api.V3.Wanted
}
[NonAction]
protected override MovieResource GetResourceById(int id)
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}

View File

@ -29,7 +29,7 @@ namespace Radarr.Api.V3.Wanted
}
[NonAction]
protected override MovieResource GetResourceById(int id)
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}

View File

@ -40,7 +40,7 @@ namespace Radarr.Http.REST
}
[RestGetById]
public ActionResult<TResource> GetResourceByIdWithErrorHandler(int id)
public virtual ActionResult<TResource> GetResourceByIdWithErrorHandler(int id)
{
try
{