Allow mapping without Path or Url (#1169)

This commit is contained in:
Stef Heyenrath
2024-09-09 20:48:09 +02:00
committed by GitHub
parent af124d556d
commit 7d7f1f8fbb
3 changed files with 42 additions and 23 deletions

View File

@@ -623,7 +623,7 @@ public partial class WireMockServer
{
var requestModel = DeserializeObject<RequestModel>(requestMessage);
var request = (Request)InitRequestBuilder(requestModel, false)!;
var request = (Request)InitRequestBuilder(requestModel);
var dict = new Dictionary<ILogEntry, RequestMatchResult>();
foreach (var logEntry in LogEntries.Where(le => !le.RequestMessage.Path.StartsWith("/__admin/")))