added options factory
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Text.Json;
|
||||
|
||||
namespace server.tests.Options
|
||||
{
|
||||
internal static class OptionsFactory
|
||||
{
|
||||
public static JsonSerializerOptions GetJsonSerializerOptions()
|
||||
{
|
||||
return new JsonSerializerOptions
|
||||
{
|
||||
PropertyNameCaseInsensitive = true
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user