From aa6b9b9beafefd807602dd75fba2da7e51817c56 Mon Sep 17 00:00:00 2001 From: Archi Date: Wed, 30 Jun 2021 23:12:15 +0200 Subject: [PATCH] STD: Add support for new custom swagger attributes --- .../SteamTokenDumperConfig.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperConfig.cs b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperConfig.cs index c2a48ee51..202c07648 100644 --- a/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperConfig.cs +++ b/ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/SteamTokenDumperConfig.cs @@ -21,6 +21,7 @@ using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; +using ArchiSteamFarm.IPC.Integration; using Newtonsoft.Json; namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper { @@ -30,12 +31,15 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper { public bool Enabled { get; internal set; } [JsonProperty(Required = Required.DisallowNull)] + [SwaggerItemsMinMax(MinimumUint = 1, MaximumUint = uint.MaxValue)] public ImmutableHashSet SecretAppIDs { get; private set; } = ImmutableHashSet.Empty; [JsonProperty(Required = Required.DisallowNull)] + [SwaggerItemsMinMax(MinimumUint = 1, MaximumUint = uint.MaxValue)] public ImmutableHashSet SecretDepotIDs { get; private set; } = ImmutableHashSet.Empty; [JsonProperty(Required = Required.DisallowNull)] + [SwaggerItemsMinMax(MinimumUint = 1, MaximumUint = uint.MaxValue)] public ImmutableHashSet SecretPackageIDs { get; private set; } = ImmutableHashSet.Empty; [JsonProperty(Required = Required.DisallowNull)]