mirror of
https://github.com/C9Glax/tranga.git
synced 2025-04-15 12:53:17 +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)
|
/// Get all available Connectors (Scanlation-Sites)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <response code="200"></response>
|
/// <response code="200"></response>
|
||||||
[HttpGet("GetConnectors")]
|
[HttpGet]
|
||||||
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
||||||
public IActionResult GetConnectors()
|
public IActionResult GetConnectors()
|
||||||
{
|
{
|
||||||
@ -28,7 +28,7 @@ public class MangaConnectorController(PgsqlContext context) : Controller
|
|||||||
/// Get all enabled Connectors (Scanlation-Sites)
|
/// Get all enabled Connectors (Scanlation-Sites)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <response code="200"></response>
|
/// <response code="200"></response>
|
||||||
[HttpGet("GetConnectors/enabled")]
|
[HttpGet("enabled")]
|
||||||
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
||||||
public IActionResult GetEnabledConnectors()
|
public IActionResult GetEnabledConnectors()
|
||||||
{
|
{
|
||||||
@ -40,7 +40,7 @@ public class MangaConnectorController(PgsqlContext context) : Controller
|
|||||||
/// Get all disabled Connectors (Scanlation-Sites)
|
/// Get all disabled Connectors (Scanlation-Sites)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <response code="200"></response>
|
/// <response code="200"></response>
|
||||||
[HttpGet("GetConnectors/disabled")]
|
[HttpGet("disabled")]
|
||||||
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
[ProducesResponseType<MangaConnector[]>(Status200OK)]
|
||||||
public IActionResult GetDisabledConnectors()
|
public IActionResult GetDisabledConnectors()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user