diff --git a/dev-proxy-plugins/MockResponses/MockResponse.cs b/dev-proxy-plugins/MockResponses/MockResponse.cs index f0dc7d58..e5316a7c 100644 --- a/dev-proxy-plugins/MockResponses/MockResponse.cs +++ b/dev-proxy-plugins/MockResponses/MockResponse.cs @@ -10,7 +10,7 @@ public class MockResponse { public string Url { get; set; } = string.Empty; [JsonPropertyName("method")] public string Method { get; set; } = "GET"; - [JsonPropertyName("nth")] + [JsonPropertyName("nth"), JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] public int? Nth { get; set; } [JsonPropertyName("responseCode")] public int? ResponseCode { get; set; } = 200;