aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/BaseJellyfinApiController.cs
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-11-27 11:50:06 +0300
committerGitHub <noreply@github.com>2019-11-27 11:50:06 +0300
commit5263aaa026ed9789e77ba2dee4b9e15077dcea7a (patch)
tree8f82e91993c393ba2eda2815f19389eccfcc75b0 /Jellyfin.Api/BaseJellyfinApiController.cs
parentc45d54efb2352a504a66fe5f5b2df01a55cde8f6 (diff)
parent080b1069914cdca8a4e342ce9fa0a58578248420 (diff)
Merge pull request #1503 from cvium/webapi_v2
Move StartupWizard to ASP.NET Web Api
Diffstat (limited to 'Jellyfin.Api/BaseJellyfinApiController.cs')
-rw-r--r--Jellyfin.Api/BaseJellyfinApiController.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Jellyfin.Api/BaseJellyfinApiController.cs b/Jellyfin.Api/BaseJellyfinApiController.cs
new file mode 100644
index 000000000..1f4508e6c
--- /dev/null
+++ b/Jellyfin.Api/BaseJellyfinApiController.cs
@@ -0,0 +1,13 @@
+using Microsoft.AspNetCore.Mvc;
+
+namespace Jellyfin.Api
+{
+ /// <summary>
+ /// Base api controller for the API setting a default route.
+ /// </summary>
+ [ApiController]
+ [Route("[controller]")]
+ public class BaseJellyfinApiController : ControllerBase
+ {
+ }
+}