This commit is contained in:
Archi
2021-06-30 22:24:28 +02:00
parent 0060e76829
commit aebf432fce
3 changed files with 3 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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; }