mirror of https://github.com/jellyfin/jellyfin.git
Adds produces annotation to the base controller to indicate application/json as the response type for endpoints
This commit is contained in:
parent
a2f19eadf7
commit
eee02a355a
|
@ -7,6 +7,7 @@ namespace Jellyfin.Api
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
|
[Produces("application/json")]
|
||||||
public class BaseJellyfinApiController : ControllerBase
|
public class BaseJellyfinApiController : ControllerBase
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue