mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Go back to swagger in regards to #3376, add cmdline switch to force openapi
This commit is contained in:
@@ -59,6 +59,7 @@ internal static class Program {
|
||||
internal static bool Service { get; private set; }
|
||||
internal static bool ShutdownSequenceInitialized { get; private set; }
|
||||
internal static bool SteamParentalGeneration { get; private set; } = true;
|
||||
internal static bool UseOpenApi { get; private set; }
|
||||
|
||||
private static readonly Dictionary<PosixSignal, PosixSignalRegistration> RegisteredPosixSignals = new();
|
||||
private static readonly TaskCompletionSource<byte> ShutdownResetEvent = new();
|
||||
@@ -610,6 +611,10 @@ internal static class Program {
|
||||
case "--SYSTEM-REQUIRED" when noArgumentValueNext():
|
||||
SystemRequired = true;
|
||||
|
||||
break;
|
||||
case "--USE-OPENAPI" when noArgumentValueNext():
|
||||
UseOpenApi = true;
|
||||
|
||||
break;
|
||||
default:
|
||||
if (cryptKeyNext) {
|
||||
|
||||
Reference in New Issue
Block a user