Skip to content

Commit 354e893

Browse files
committed
Forgot to tag a couple controllers
1 parent 6df1dd9 commit 354e893

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

API/Controller/Devices/DeviceOtaController.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@
1717
namespace OpenShock.API.Controller.Devices;
1818

1919
[ApiController]
20-
[Authorize(AuthenticationSchemes = OpenShockAuthSchemas.UserSessionCookie)]
20+
[Tags("Hub Management")]
2121
[ApiVersion("1")]
2222
[Route("/{version:apiVersion}/devices")]
23+
[Authorize(AuthenticationSchemes = OpenShockAuthSchemas.UserSessionCookie)]
2324
public sealed class DevicesOtaController : AuthenticatedSessionControllerBase
2425
{
2526
private readonly OpenShockContext _db;

API/Controller/Tokens/TokenDeleteController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
namespace OpenShock.API.Controller.Tokens;
1414

1515
[ApiController]
16+
[Tags("API Tokens")]
1617
[Route("/{version:apiVersion}/tokens")]
1718
[Authorize(AuthenticationSchemes = OpenShockAuthSchemas.UserSessionApiTokenCombo)]
1819
public sealed class TokenDeleteController : AuthenticatedSessionControllerBase

0 commit comments

Comments
 (0)