2020-04-21 08:38:31 -06:00
|
|
|
using Jellyfin.Api.Models.ExceptionDtos;
|
|
|
|
|
using Microsoft.AspNetCore.Http;
|
2019-11-23 16:31:02 +01:00
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Api
|
|
|
|
|
{
|
2019-11-23 20:31:17 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Base api controller for the API setting a default route.
|
|
|
|
|
/// </summary>
|
2019-11-23 16:31:02 +01:00
|
|
|
[ApiController]
|
|
|
|
|
[Route("[controller]")]
|
2020-04-21 08:38:31 -06:00
|
|
|
[ProducesResponseType(typeof(ExceptionDto), StatusCodes.Status500InternalServerError)]
|
2019-11-23 16:31:02 +01:00
|
|
|
public class BaseJellyfinApiController : ControllerBase
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|