Fixed views showing in swagger

This commit is contained in:
2025-12-25 12:21:50 +01:00
parent 57beddd70f
commit 040d4f916a
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ using Server.Models;
namespace Server.Controllers; namespace Server.Controllers;
[ApiExplorerSettings(IgnoreApi = true)]
[Route("[Controller]")] [Route("[Controller]")]
public class AccountController : Controller public class AccountController : Controller
{ {

View File

@@ -7,7 +7,7 @@ using Server.Exceptions;
using Server.Models; using Server.Models;
namespace Server.Controllers; namespace Server.Controllers;
[ApiController] [ApiExplorerSettings(IgnoreApi = true)]
[Route("/")] [Route("/")]
public class HomeController : Controller public class HomeController : Controller
{ {