From aebf432fce05b38f6d6337349b7323d806f9071d Mon Sep 17 00:00:00 2001 From: Archi Date: Wed, 30 Jun 2021 22:24:28 +0200 Subject: [PATCH] Misc --- ArchiSteamFarm/IPC/Integration/SwaggerItemsMinMaxAttribute.cs | 2 +- .../IPC/Integration/SwaggerSteamIdentifierAttribute.cs | 2 +- ArchiSteamFarm/IPC/Integration/SwaggerValidValuesAttribute.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; }