mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-14 04:13:18 +02:00
MangaConnector shorten Endpoint paths
This commit is contained in:
parent
e1e5a45960
commit
0d931bc835
@ -16,7 +16,7 @@ public class MangaConnectorController(PgsqlContext context) : Controller
|
||||
/// Get all available Connectors (Scanlation-Sites)
|
||||
/// </summary>
|
||||
/// <response code="200"></response>
|
||||
[HttpGet("GetConnectors")]
|
||||
[HttpGet]
|
||||
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
||||
public IActionResult GetConnectors()
|
||||
{
|
||||
@ -28,7 +28,7 @@ public class MangaConnectorController(PgsqlContext context) : Controller
|
||||
/// Get all enabled Connectors (Scanlation-Sites)
|
||||
/// </summary>
|
||||
/// <response code="200"></response>
|
||||
[HttpGet("GetConnectors/enabled")]
|
||||
[HttpGet("enabled")]
|
||||
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
||||
public IActionResult GetEnabledConnectors()
|
||||
{
|
||||
@ -40,7 +40,7 @@ public class MangaConnectorController(PgsqlContext context) : Controller
|
||||
/// Get all disabled Connectors (Scanlation-Sites)
|
||||
/// </summary>
|
||||
/// <response code="200"></response>
|
||||
[HttpGet("GetConnectors/disabled")]
|
||||
[HttpGet("disabled")]
|
||||
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
||||
public IActionResult GetDisabledConnectors()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user