mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-01-03 22:36:22 +01:00
Hiding "enable" property in API docs for applications
This commit is contained in:
parent
0391537a60
commit
31f057c097
2 changed files with 5 additions and 0 deletions
|
|
@ -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…
Reference in a new issue