mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +02:00
Hiding "enable" property in API docs for applications
This commit is contained in:
@@ -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" />
|
||||
|
Reference in New Issue
Block a user