diff options
| author | crobibero <cody@robibe.ro> | 2020-08-03 14:38:51 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-08-03 14:38:51 -0600 |
| commit | 9e00aa3014c0044c0918a775c3394763666b30af (patch) | |
| tree | aaa4705547693af4f2e298e7a6481d7c77a67cb4 /Jellyfin.Api/Controllers/SystemController.cs | |
| parent | 1535f363b28ab7e57354f2724f5f1900a000b5cc (diff) | |
fix openapi validation errors
Diffstat (limited to 'Jellyfin.Api/Controllers/SystemController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SystemController.cs | 4 |
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() { |
