From 833995ca61f40ffae2934bfda4a5356c47880836 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 10 Aug 2020 13:41:07 +0200 Subject: [PATCH] Fix swaggergen generation By avoiding a possibility of multiple conflicting types having the same name. I'm not sure why this isn't the default behaviour, seems silly to me. --- ArchiSteamFarm/IPC/Startup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ArchiSteamFarm/IPC/Startup.cs b/ArchiSteamFarm/IPC/Startup.cs index c7d9b81af..a7dc0f234 100644 --- a/ArchiSteamFarm/IPC/Startup.cs +++ b/ArchiSteamFarm/IPC/Startup.cs @@ -170,6 +170,7 @@ namespace ArchiSteamFarm.IPC { } ); + options.CustomSchemaIds(type => type.FullName); options.EnableAnnotations(true); options.SchemaFilter();