diff --git a/ArchiSteamFarm/IPC/Integration/SwaggerItemsMinMaxAttribute.cs b/ArchiSteamFarm/IPC/Integration/SwaggerItemsMinMaxAttribute.cs index c520cfb41..669c98775 100644 --- a/ArchiSteamFarm/IPC/Integration/SwaggerItemsMinMaxAttribute.cs +++ b/ArchiSteamFarm/IPC/Integration/SwaggerItemsMinMaxAttribute.cs @@ -25,7 +25,7 @@ using JetBrains.Annotations; using Microsoft.OpenApi.Models; namespace ArchiSteamFarm.IPC.Integration { - [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Struct)] + [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property)] [PublicAPI] public sealed class SwaggerItemsMinMaxAttribute : ValidationAttribute { public uint MaximumUint { diff --git a/ArchiSteamFarm/IPC/Integration/SwaggerSteamIdentifierAttribute.cs b/ArchiSteamFarm/IPC/Integration/SwaggerSteamIdentifierAttribute.cs index 7e390e92a..56af37bf9 100644 --- a/ArchiSteamFarm/IPC/Integration/SwaggerSteamIdentifierAttribute.cs +++ b/ArchiSteamFarm/IPC/Integration/SwaggerSteamIdentifierAttribute.cs @@ -26,7 +26,7 @@ using Microsoft.OpenApi.Models; using SteamKit2; namespace ArchiSteamFarm.IPC.Integration { - [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Struct)] + [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property)] [PublicAPI] public sealed class SwaggerSteamIdentifierAttribute : ValidationAttribute { public EAccountType AccountType { get; set; } = EAccountType.Individual; diff --git a/ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs b/ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs index 363ca2b3c..336c96ff9 100644 --- a/ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs +++ b/ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs @@ -28,7 +28,7 @@ using Microsoft.OpenApi.Extensions; using Microsoft.OpenApi.Models; namespace ArchiSteamFarm.IPC.Integration { - [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Struct)] + [AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Property)] [PublicAPI] public sealed class SwaggerValidValuesAttribute : ValidationAttribute { public int[]? ValidIntValues { get; set; }