This commit is contained in:
Archi 2021-06-30 22:24:28 +02:00
parent 0060e76829
commit aebf432fce
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA
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; }