mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-27 15:02:41 +00:00
Add ProducesResponseType to base controller
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using Jellyfin.Api.Models.ExceptionDtos;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace Jellyfin.Api
|
||||
@@ -7,6 +9,7 @@ namespace Jellyfin.Api
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
[ProducesResponseType(typeof(ExceptionDto), StatusCodes.Status500InternalServerError)]
|
||||
public class BaseJellyfinApiController : ControllerBase
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user