V14: Cleanup [ApiController] attribute usage (#15842)

* Applying [ApiController] to ManagementApiControllerBase and the rest derive it from it

* Removing [ApiController] from deriving controllers

* Removing [ApiVersion("1.0")] from controller base

* Cleanup

* [ApiController] from deriving DeliveryApiControllerBase controller
This commit is contained in:
Elitsa Marinovska
2024-03-05 15:49:40 +01:00
committed by GitHub
parent 7710d9d66c
commit 04400054ac
104 changed files with 67 additions and 181 deletions

View File

@@ -8,7 +8,6 @@ using Umbraco.Cms.Web.Common.Authorization;
namespace Umbraco.Cms.Api.Management.Controllers.Security;
[ApiController]
[VersionedApiBackOfficeRoute("security")]
[ApiExplorerSettings(GroupName = "Security")]
[Authorize(Policy = AuthorizationPolicies.DenyLocalLoginIfConfigured)]