aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SystemController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-03 14:38:51 -0600
committercrobibero <cody@robibe.ro>2020-08-03 14:38:51 -0600
commit9e00aa3014c0044c0918a775c3394763666b30af (patch)
treeaaa4705547693af4f2e298e7a6481d7c77a67cb4 /Jellyfin.Api/Controllers/SystemController.cs
parent1535f363b28ab7e57354f2724f5f1900a000b5cc (diff)
fix openapi validation errors
Diffstat (limited to 'Jellyfin.Api/Controllers/SystemController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SystemController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/SystemController.cs b/Jellyfin.Api/Controllers/SystemController.cs
index bc606f7aa..e0bce3a41 100644
--- a/Jellyfin.Api/Controllers/SystemController.cs
+++ b/Jellyfin.Api/Controllers/SystemController.cs
@@ -85,8 +85,8 @@ namespace Jellyfin.Api.Controllers
/// </summary>
/// <response code="200">Information retrieved.</response>
/// <returns>The server name.</returns>
- [HttpGet("Ping")]
- [HttpPost("Ping")]
+ [HttpGet("Ping", Name = "GetPingSystem")]
+ [HttpPost("Ping", Name = "PostPingSystem")]
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<string> PingSystem()
{