Hiding "enable" property in API docs for applications

pull/2205/head
Bogdan 7 months ago
parent 0391537a60
commit 31f057c097

@ -1,11 +1,15 @@
using NzbDrone.Core.Applications;
using Swashbuckle.AspNetCore.Annotations;
namespace Prowlarr.Api.V1.Applications
{
public class ApplicationResource : ProviderResource<ApplicationResource>
{
public ApplicationSyncLevel SyncLevel { get; set; }
[SwaggerIgnore]
public bool Enable { get; set; }
public string TestCommand { get; set; }
}

@ -5,6 +5,7 @@
<ItemGroup>
<PackageReference Include="FluentValidation" Version="9.5.4" />
<PackageReference Include="NLog" Version="5.3.3" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.6.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\NzbDrone.Core\Prowlarr.Core.csproj" />

Loading…
Cancel
Save