This commit is contained in:
Stef Heyenrath
2020-07-09 21:37:39 +02:00
committed by GitHub
parent 28865bd053
commit 1c88f5d97d
2 changed files with 46 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ namespace WireMock.Serialization
}
};
if (methodMatcher?.Methods != null && methodMatcher.Methods.All(m => m != "get") && bodyMatcher?.Matchers != null)
if (bodyMatcher?.Matchers != null)
{
mappingModel.Request.Body = new BodyModel();