Fix WithBody when using Pact and added more nullable annotations (#783)

* More nullable annotations

* .

* .

* FIX

* pact

* .

* p

* xxx

* ...

* auth

* array

* ...
This commit is contained in:
Stef Heyenrath
2022-08-11 10:57:33 +02:00
committed by GitHub
parent b1af37f044
commit d2a1d0f069
87 changed files with 2578 additions and 2455 deletions

View File

@@ -2,11 +2,11 @@ namespace WireMock.Pact.Models.V2;
public class Interaction
{
public string Description { get; set; } = string.Empty;
public string? Description { get; set; }
public string ProviderState { get; set; }
public string? ProviderState { get; set; }
public PactRequest Request { get; set; } = new PactRequest();
public PactRequest Request { get; set; } = new();
public PactResponse Response { get; set; } = new PactResponse();
public PactResponse Response { get; set; } = new();
}