mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
Hiding "enable" property in API docs for applications
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
using NzbDrone.Core.Applications;
|
using NzbDrone.Core.Applications;
|
||||||
|
using Swashbuckle.AspNetCore.Annotations;
|
||||||
|
|
||||||
namespace Prowlarr.Api.V1.Applications
|
namespace Prowlarr.Api.V1.Applications
|
||||||
{
|
{
|
||||||
public class ApplicationResource : ProviderResource<ApplicationResource>
|
public class ApplicationResource : ProviderResource<ApplicationResource>
|
||||||
{
|
{
|
||||||
public ApplicationSyncLevel SyncLevel { get; set; }
|
public ApplicationSyncLevel SyncLevel { get; set; }
|
||||||
|
|
||||||
|
[SwaggerIgnore]
|
||||||
public bool Enable { get; set; }
|
public bool Enable { get; set; }
|
||||||
|
|
||||||
public string TestCommand { get; set; }
|
public string TestCommand { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="FluentValidation" Version="9.5.4" />
|
<PackageReference Include="FluentValidation" Version="9.5.4" />
|
||||||
<PackageReference Include="NLog" Version="5.3.3" />
|
<PackageReference Include="NLog" Version="5.3.3" />
|
||||||
|
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.6.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\NzbDrone.Core\Prowlarr.Core.csproj" />
|
<ProjectReference Include="..\NzbDrone.Core\Prowlarr.Core.csproj" />
|
||||||
|
Reference in New Issue
Block a user