Update Swagger Documenatation for 501 NotImplemented

This commit is contained in:
Glax 2025-03-08 18:36:57 +01:00
parent f3854ab594
commit 0af83f2fd0
2 changed files with 4 additions and 3 deletions

View File

@ -72,11 +72,12 @@ public class SettingsController(PgsqlContext context) : Controller
/// <summary>
/// Update all Request-Limits to new values
/// </summary>
/// <remarks>NOT IMPLEMENTED</remarks>
/// <remarks><h1>NOT IMPLEMENTED</h1></remarks>
[HttpPatch("RequestLimits")]
[ProducesResponseType(Status501NotImplemented)]
public IActionResult SetRequestLimits()
{
throw new NotImplementedException();
return StatusCode(501);
}
/// <summary>

View File

@ -21,6 +21,6 @@ public class UpdateMetadataJob(ulong recurrenceMs, string mangaId, string? paren
/// <param name="context"></param>
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
throw new NotImplementedException();
return [];//TODO
}
}