Updated API version package and moved attribute to each controller (#14209)

* Updated API version package and moved attribute to each controller as it cannot be inherited.

* Ignore "$type" on types implementing interfaces in the delivery api
This commit is contained in:
Bjarke Berg
2023-05-09 08:38:07 +02:00
committed by GitHub
parent 25df33b9c1
commit 417e92dad0
299 changed files with 781 additions and 355 deletions

View File

@@ -1,4 +1,5 @@
using Microsoft.AspNetCore.Http;
using Asp.Versioning;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Api.Common.ViewModels.Pagination;
@@ -6,6 +7,7 @@ using Umbraco.Cms.Api.Management.ViewModels.Tree;
namespace Umbraco.Cms.Api.Management.Controllers.PartialView.Tree;
[ApiVersion("1.0")]
public class RootPartialViewTreeController : PartialViewTreeControllerBase
{
public RootPartialViewTreeController(FileSystems fileSystems)