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.
This commit is contained in:
JustArchi
2020-08-10 13:41:07 +02:00
parent 40531e9554
commit 833995ca61

View File

@@ -170,6 +170,7 @@ namespace ArchiSteamFarm.IPC {
}
);
options.CustomSchemaIds(type => type.FullName);
options.EnableAnnotations(true);
options.SchemaFilter<EnumSchemaFilter>();