-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support deleting / resetting a single scenario (#834)
* Support deleting / resetting a single scenario * move files
- Loading branch information
Showing
27 changed files
with
184 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/WireMock.Net/Http/HttpRequestMethods.cs → ...stractions/Constants/HttpRequestMethod.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#pragma warning disable CS1591 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class Interaction | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
namespace WireMock.Pact.Models.V2 | ||
#pragma warning disable CS1591 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class MatchingRule | ||
{ | ||
public class MatchingRule | ||
{ | ||
/// <summary> | ||
/// type or regex | ||
/// </summary> | ||
public string Match { get; set; } = "type"; | ||
/// <summary> | ||
/// type or regex | ||
/// </summary> | ||
public string Match { get; set; } = "type"; | ||
|
||
/// <summary> | ||
/// Used for Match = "type" | ||
/// </summary> | ||
public string Min { get; set; } | ||
/// <summary> | ||
/// Used for Match = "type" | ||
/// </summary> | ||
public string Min { get; set; } | ||
|
||
/// <summary> | ||
/// Used for Match = "type" | ||
/// </summary> | ||
public string Max { get; set; } | ||
/// <summary> | ||
/// Used for Match = "type" | ||
/// </summary> | ||
public string Max { get; set; } | ||
|
||
/// <summary> | ||
/// Used for Match = "regex" | ||
/// </summary> | ||
public string Regex { get; set; } | ||
} | ||
/// <summary> | ||
/// Used for Match = "regex" | ||
/// </summary> | ||
public string Regex { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
namespace WireMock.Pact.Models.V2 | ||
#pragma warning disable CS1591 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class Metadata | ||
{ | ||
public class Metadata | ||
{ | ||
public string PactSpecificationVersion { get; set; } | ||
public string PactSpecificationVersion { get; set; } | ||
|
||
public PactSpecification PactSpecification { get; set; } = new PactSpecification(); | ||
} | ||
public PactSpecification PactSpecification { get; set; } = new PactSpecification(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#pragma warning disable CS1591 | ||
using System.Collections.Generic; | ||
|
||
namespace WireMock.Pact.Models.V2 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class Pact | ||
{ | ||
public class Pact | ||
{ | ||
public Pacticipant Consumer { get; set; } | ||
public Pacticipant Consumer { get; set; } | ||
|
||
public List<Interaction> Interactions { get; set; } = new List<Interaction>(); | ||
public List<Interaction> Interactions { get; set; } = new List<Interaction>(); | ||
|
||
public Metadata Metadata { get; set; } | ||
public Metadata Metadata { get; set; } | ||
|
||
public Pacticipant Provider { get; set; } | ||
} | ||
public Pacticipant Provider { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#pragma warning disable CS1591 | ||
using System.Collections.Generic; | ||
|
||
namespace WireMock.Pact.Models.V2; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
namespace WireMock.Pact.Models.V2 | ||
#pragma warning disable CS1591 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class PactRust | ||
{ | ||
public class PactRust | ||
{ | ||
public string Ffi { get; set; } | ||
public string Ffi { get; set; } | ||
|
||
public string Mockserver { get; set; } | ||
public string Mockserver { get; set; } | ||
|
||
public string Models { get; set; } | ||
} | ||
public string Models { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
namespace WireMock.Pact.Models.V2 | ||
#pragma warning disable CS1591 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class PactSpecification | ||
{ | ||
public class PactSpecification | ||
{ | ||
public string Version { get; set; } = "2.0"; | ||
} | ||
public string Version { get; set; } = "2.0"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
namespace WireMock.Pact.Models.V2 | ||
#pragma warning disable CS1591 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class Pacticipant | ||
{ | ||
public class Pacticipant | ||
{ | ||
public string Name { get; set; } | ||
} | ||
public string Name { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#pragma warning disable CS1591 | ||
using System.Collections.Generic; | ||
|
||
namespace WireMock.Pact.Models.V2 | ||
namespace WireMock.Pact.Models.V2; | ||
|
||
public class ProviderState | ||
{ | ||
public class ProviderState | ||
{ | ||
public string Name { get; set; } | ||
public string Name { get; set; } | ||
|
||
public IDictionary<string, string> Params { get; set; } | ||
} | ||
public IDictionary<string, string> Params { get; set; } | ||
} |
Oops, something went wrong.