Added some more tests for JsonMatcher + refactored some code to use nullable (#770)

This commit is contained in:
Stef Heyenrath
2022-07-09 15:34:17 +02:00
committed by GitHub
parent 717179fd35
commit 150b448d07
20 changed files with 1497 additions and 486 deletions

View File

@@ -1,17 +1,16 @@
using System.IO;
using System.IO;
namespace WireMock.Util
namespace WireMock.Util;
internal class BodyParserSettings
{
internal class BodyParserSettings
{
public Stream Stream { get; set; }
public Stream Stream { get; set; } = null!;
public string ContentType { get; set; }
public string? ContentType { get; set; }
public string ContentEncoding { get; set; }
public string? ContentEncoding { get; set; }
public bool DecompressGZipAndDeflate { get; set; } = true;
public bool DecompressGZipAndDeflate { get; set; } = true;
public bool DeserializeJson { get; set; } = true;
}
public bool DeserializeJson { get; set; } = true;
}