Rename (WireMock.Pact.Models.V2)-Request to PactRequest and -Response to PactResponse (#767)

This commit is contained in:
Stef Heyenrath
2022-07-08 10:32:12 +02:00
committed by GitHub
parent ef12cb70cc
commit 4d0f96eabe
4 changed files with 14 additions and 15 deletions

View File

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

View File

@@ -2,7 +2,7 @@ using System.Collections.Generic;
namespace WireMock.Pact.Models.V2;
public class Request
public class PactRequest
{
public IDictionary<string, string>? Headers { get; set; }

View File

@@ -2,7 +2,7 @@ using System.Collections.Generic;
namespace WireMock.Pact.Models.V2;
public class Response
public class PactResponse
{
public object? Body { get; set; }