mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-05-28 01:29:11 +02:00
<PackageReference Include="JmesPath.Net" Version="1.1.0" />
This commit is contained in:
@@ -70,7 +70,7 @@ public class JsonPathMatcher : IStringMatcher, IObjectMatcher
|
||||
{
|
||||
try
|
||||
{
|
||||
var jToken = JToken.Parse(input);
|
||||
var jToken = JToken.Parse(input!);
|
||||
score = IsMatch(jToken);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -42,7 +42,7 @@ internal class MappingFileNameSanitizer
|
||||
|
||||
if (!string.IsNullOrEmpty(_settings.ProxyAndRecordSettings?.PrefixForSavedMappingFile))
|
||||
{
|
||||
name = $"{_settings.ProxyAndRecordSettings.PrefixForSavedMappingFile}{ReplaceChar}{name}";
|
||||
name = $"{_settings.ProxyAndRecordSettings!.PrefixForSavedMappingFile}{ReplaceChar}{name}";
|
||||
}
|
||||
return $"{Path.GetInvalidFileNameChars().Aggregate(name, (current, c) => current.Replace(c, ReplaceChar))}.json";
|
||||
}
|
||||
|
||||
@@ -37,8 +37,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="JmesPath.Net.SourceOnly" Version="1.0.330-20260228.1" />
|
||||
<!--<PackageReference Include="JmesPath.Net" Version="1.0.330" />-->
|
||||
<PackageReference Include="JmesPath.Net" Version="1.1.0" />
|
||||
<PackageReference Include="NJsonSchema.Extensions" Version="0.2.0" />
|
||||
<PackageReference Include="NSwag.Core" Version="13.16.1" />
|
||||
<PackageReference Include="SimMetrics.Net" Version="1.0.5" />
|
||||
|
||||
Reference in New Issue
Block a user