Stef Heyenrath
0597a73e0e
Create GraphQL project ( #1334 )
...
* Create new project for GraphQL
* ...
* .
* ok?
* Update src/WireMock.Net.Shared/Extensions/AnyOfExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* --
* ...
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-10 19:00:22 +02:00
Stef Heyenrath
b0076b4e81
Implement IMimeMessageData ( #1326 )
...
* Implement IMimeMessageData
* 1
* Update src/WireMock.Net.MimePart/Util/MimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* v1
* v2
* e
* ?
* fix
* if (Array.TrueForAll(_funcs, func => func(value).IsPerfect()))
* Update src/WireMock.Net.Shared/Util/IMimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Minimal/Matchers/Request/RequestMessageMultiPartMatcher.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimeEntityDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Models.Mime.IMimeMessageData? BodyAsMimeMessage { get; }
* Update src/WireMock.Net.MimePart/Util/MimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimePartDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.MimePart/Models/MimeMessageDataWrapper.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update src/WireMock.Net.Shared/Util/IMimeKitUtils.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-12 09:54:18 +02:00
Stef Heyenrath
96eca4262a
Create WireMock.Net.MimePart project ( #1300 )
...
* Create WireMock.Net.MimePart project
* .
* REFACTOR
* ILRepack
* --
* ...
* x
* x
* .
* fix
* public class MimePartMatcher
* shared
* min
* .
* <!--<DelaySign>true</DelaySign>-->
* Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-24 12:17:42 +02:00
Stef Heyenrath
beabba4064
Add extra unit tests for PR #1278
2025-04-23 07:47:07 +02:00
Stef Heyenrath
5abb424d3c
Add extra JsonPartialWildcardMatcher Tests ( #1267 )
...
* Add extra JsonPartialWildcardMatcher Tests
* responseText.Should().Contain
2025-04-02 08:57:44 +02:00
Stef Heyenrath
12d2219752
Disable DynamicLinq to fix CVE ( #1242 )
...
* Disable DynamicLinq
* Disable DynamicLinq functionality
2025-01-22 10:30:52 +01:00
Stef Heyenrath
7f640dfa0d
Fix JsonPartialMatcher when using property names with dot ( #1216 )
...
Fix JsonPartialMatcher when using property names with dot (#1216 )
2024-12-06 09:23:31 +01:00
Stef Heyenrath
6f73dfe360
Use GraphQL 8.2.1 ( #1211 )
2024-11-18 10:23:00 +01:00
Stef Heyenrath
1682c61a0c
Use latest ProtoBufJsonConverter to support WellKnownTypes ( #1161 )
...
* Use latest ProtoBufJsonConverter to support WellKnownTypes
* Fix
* 02
* WireMockServer_WithBodyAsProtoBuf_WithWellKnownTypes
* .
* extra test
* 0.4.0-preview-06
* 7
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-08" />
* Update README.md
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-09" />
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0" />
* Update README.md
2024-10-16 10:57:47 +02:00
Stef Heyenrath
da100298c1
Update MappingConverter to correctly write the Matcher as C# code ( #1152 )
...
* Update MappingConverter to correctly write the Matcher as C# code
* .
* CSharpCodeMatcher
* tests
* .
2024-08-27 19:38:07 +02:00
Stef Heyenrath
7e162a00ab
Fix FormUrlEncodedMatcher (MatchOperator.And) ( #1157 )
2024-08-15 11:01:37 +02:00
Stef Heyenrath
3353be65b5
Add FormUrlEncodedMatcher ( #1147 )
...
* FormUrlEncodedMatcher
* .
* Fix
* new
* support wildcard
2024-07-27 14:40:23 +02:00
Stef Heyenrath
54edf0bebc
Add link to TIOBE Index on main page + fix issues ( #1137 )
...
* Add TIOBE + include SonarAnalyzer.CSharp
* .
* cp
* Copyright © WireMock.Net
* more fixes
* fix
* xpath
* if (Matchers == null || !Matchers.Any())
* if (Matchers != null)
* ?
* .
* .
2024-07-18 18:06:04 +02:00
Stef Heyenrath
86f8877039
Fix JsonMatcher if IgnoreCase and Regex are used
2024-06-08 09:11:22 +02:00
Stef Heyenrath
54fe0823dc
Add RegEx support to JsonMatcher ( #1091 )
...
* json matcher regex
* better test
* regression
2024-04-06 18:08:45 +02:00
Stef Heyenrath
6ac95cf57d
Add Grpc ProtoBuf support (request-response) ( #1047 )
...
* ProtoBuf
* .
* x
* ---
* x
* fx
* ...
* sc
* ...
* .
* groen
* x
* fix tests
* ok!?
* fix tests
* fix tests
* !
* x
* 6
* .
* x
* ivaluematcher
* transformer
* .
* sc
* .
* mapping
* x
* tra
* com
* ...
* .
* .
* .
* AddProtoDefinition
* .
* set
* grpahj
* .
* .
* IdOrText
* ...
* async
* async2
* .
* t
* nuget
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0-preview-04" />
* http version
* tests
* .WithHttpVersion("2")
* <PackageReference Include="ProtoBufJsonConverter" Version="0.2.0" />
* HttpVersionParser
2024-02-16 17:16:51 +01:00
Stef Heyenrath
fb3ae53e1c
GraphQL - custom scalar support ( #1012 )
...
* x
* CustomScalars
* more tests
* .
* add or set
* ...
* x
2023-12-04 18:02:03 +01:00
Stef Heyenrath
f7cd4b100e
GraphQL - add support for standard scalar types in the schema ( #1011 )
...
* GraphQL: register BuiltInTypes
* GraphQLMatcher_For_ValidSchema_And_CorrectGraphQL_Mutation_IsMatch
2023-10-16 16:13:53 +02:00
Carsten Alder
60bf12e2a9
Support for xml namespaces in XPathMatcher ( #1005 )
...
* Support for xml namespaces in XPathMatcher
* Review findings of Stef implemented.
* Fix of build error
* New review findings by Stef
---------
Co-authored-by: Carsten Alder <carsten.alder@schleupen.de >
2023-10-02 19:29:31 +02:00
Stef Heyenrath
9f9fc85a64
JmesPathMatcherTests ( #998 )
2023-09-27 21:42:34 +02:00
Stef Heyenrath
93c87845c2
Write logging in case a Matcher throws an exception ( #986 )
...
* ThrowException
* ...
* .
* ...
* b
* fix test
* ...
* .
* sonar
* ft
* .
* fix tst
2023-08-21 20:07:46 +02:00
DayLightDancer
8adf34fb56
Update JSONPathMatcher.cs to cover the string path selection to a child ( #993 )
...
* Update JSONPathMatcher.cs to cover the string path selection to a child
The .SelectToken method accept string path selection and JSONPath queries. The current code works only for the queries because the result is JObject. When the string path is selected the result is JValue and event with a valid result the code the code doesn't return valued result.
https://www.newtonsoft.com/json/help/html/SelectToken.htm
* Added unit tests
* Addressed the comments
* Addressed the comments
* Update JSONPathMatcher.cs
2023-08-17 17:18:32 +02:00
Stef Heyenrath
4688f556b5
Add MultiPart/MimePart Request Matcher ( #981 )
...
* wip
* .
* mm
* x
* .
* .
* .
* tests
* .
* more tests
* trans
* x
* win
* fix
* .
* tests
2023-08-03 15:55:46 +02:00
Tymur Nesterenko
58bfb3ea33
JsonPartialMatcher - match guid and string ( #972 )
...
* JsonPartialMatcher - match guid and string (#971 )
* JsonPartialMatcher - match guid and string. Add Regex with Guid test (#971 )
2023-07-19 22:34:02 +02:00
Stef Heyenrath
98b8ede826
Fixed JsonPathMatcher to match nested objects ( #966 )
...
* Fixed JsonPathMatcher to match nested objects
* fix
* .
* 100%
2023-07-15 09:29:13 +02:00
Stef Heyenrath
b495eb83b1
Add GraphQL Schema matching ( #964 )
...
* Add GrapQLMatcher
* tests
* x
* .
* .
* RequestMessageGraphQLMatcher
* .
* more tests
* tests
* ...
* ms
* .
* more tests
* GraphQL.NET !!!
* .
* executionResult
* nw
* sonarcloud
2023-07-07 21:43:46 +02:00
Stef Heyenrath
1221d52c69
Add DeserializeFormUrl Encoded to the settings ( #905 )
...
* Add DeserializeFormUrlEncoded to Settings
* EmptyArray<>.Value
* .
2023-03-19 09:19:53 +01:00
Stef Heyenrath
770a670e53
Generate C# code from Mapping ( #842 )
...
* 1
* .
* v
* .
* .
* -
* b
* res b
* Fix UT
* .
* Verify
* v
* ...
* .
* .
* dir
* m
2023-01-24 16:45:47 +01:00
Stef Heyenrath
55afc8041f
ExactMatcher : IgnoreCase ( #817 )
...
* ...
* mm
* fix some null warnings
* fx
2022-10-15 08:23:58 +02:00
Stef Heyenrath
bdd421e128
JsonPartialMatcher - support Regex ( #771 )
...
* JsonPartialMatcher - support Regex
* .
* .
* more tests
* .
* .
2022-07-24 15:54:53 +02:00
Stef Heyenrath
150b448d07
Added some more tests for JsonMatcher + refactored some code to use nullable ( #770 )
2022-07-09 15:34:17 +02:00
Stef Heyenrath
0441c1d85e
Add MatchOperator "Or", "And" and "Average" for patterns ( #755 )
...
* wip
* ...
* .
* ...
* ...
* path
* url
* b
* t
* client
* .
* RequestMessageMethodMatcherTests
* .
* h
* .
* fix tests
* .
2022-06-09 21:31:54 +02:00
Stef Heyenrath
6943b90da6
RegexExtended in settings ( #700 )
...
* Add extra unittest for RegexExtended
* settings
2021-12-12 15:40:38 +01:00
Stef Heyenrath
25666152bb
Add JsonPartialWildcardMatcher ( #667 )
...
* JsonPartialWildcardMatcher
* .
* more tests
2021-10-27 08:16:18 +02:00
Stef Heyenrath
6194f4e460
Update NotNullOrEmptyMatcher to also implement IStringMatcher ( #654 )
...
* Update NotNullOrEmptyMatcher to also implement IStringMatcher
* NotNullOrEmptyMatcher_GetPatterns_Should_Return_EmptyArray
* 24
2021-10-15 12:59:03 +02:00
Stef Heyenrath
57cc616aa3
Implement PatternAsFile for StringMatcher ( #651 )
2021-10-15 08:54:12 +02:00
Stef Heyenrath
0f99e06acc
Add NotNullOrEmptyMatcher ( #625 )
2021-08-04 16:22:22 +02:00
Gleb Osokin
548fc2c2c8
Support for partial JSON matching ( #539 )
...
* support Json partial match with JsonPartialMatcher
* fix erroneous filenames
* add newline
* newlines fix
* add JsonPartialMatcher to mapper
* curly braces for ifs
* fix JToken type comparison
* more test cases
* rename AreEqual -> IsMatch + more test cases
* separate tests for JPath matcher values
Co-authored-by: Gleb Osokin <gleb.osokin@avira.com >
2020-11-17 17:18:58 +01:00
Stef Heyenrath
06be3aff95
Add ThrowExceptionWhenMatcherFails option to all Matchers ( #500 )
...
* .
* ut
* IMatcher.ThrowException
* settings
* more tests
* linq matcher throw
* .
* .
2020-08-13 08:58:18 +02:00
Stef Heyenrath
13ab37dd3e
LinqMatcher ( #431 )
2020-02-25 22:17:15 +01:00
Stef Heyenrath
d971144426
WireMock.Net version 1.1.x ( #363 )
...
* refactor
* rename api
* -preview-01
* logger
* move
* RandomDataGenerator.Net
* .
* ISettings
* renames...
* refactor CommandlineParser logic
* remove standalone
* Remove Interfaces
* Update tests
* WireMock.Net.StandAlone
* .
* fix
* .
* _settings
* Admin
* WireMock.Net.Abstractions
* fix build
* rename WireMockServer
* fix compile errors
2019-12-27 16:01:13 +01:00
Stef Heyenrath
8ae0abb023
. ( #392 )
2019-12-13 13:21:50 +01:00
Stef Heyenrath
7789f94737
Fix JsonMatcher (parsing DateTimeOffset) ( #358 )
...
* .
* JObject Parse
* JsonUtils.Parse
* fix code comments
2019-10-09 11:16:39 +02:00
Stef Heyenrath
3cc361e216
Fixed failing admin requests when content type includes a charset (based on idea from Paul Roub) ( #353 )
...
* .
* #350
* fix
* .
2019-10-05 17:20:10 +02:00
Stef Heyenrath
0a9214ef47
Add CSharpCodeMatcher ( #324 )
...
* wip
* fix
* .
* windows-2019
* <Target Name="CheckIfShouldKillVBCSCompiler" />
* <!--https://github.com/aspnet/RoslynCodeDomProvider/issues/51-- >
* AllowCSharpCodeMatcher
* CSharpCodeMatcher : IObjectMatcher
* TemplateForIsMatchWithDynamic
* RequestMessageBodyMatcher_GetMatchingScore_BodyAsJson_CSharpCodeMatcher
* fix
* }
* Better Exception Handling
2019-09-28 17:55:07 +02:00
Stef Heyenrath
5b8b588983
Fix CompareTo in RequestMatchResult ( #345 )
...
* Fix CompareTo in RequestMatchResult
#344
* fix test
2019-09-17 14:50:43 +02:00
Stef Heyenrath
ccb2c51a39
JsonMatcher support IgnoreCase ( #333 )
...
* JsonMatcher - IgnoreCase - #332
* also rename property name
* Remove example project
2019-08-23 19:49:15 +00:00
Stef Heyenrath
fdb58b757b
Add JmesPath matcher ( #269 )
...
* JmesPathMatcher
* netstandard1.3
* update System.Linq.Dynamic.Core
* simplyfy `double IsMatch(object input)`
2019-04-20 10:44:13 +02:00
Stef Heyenrath
9e123fbbea
Fixed Multi Param Match logic ( #256 )
...
* fix?
* 1.0.9
* <PackageReference Include="System.Linq.Dynamic.Core" Version="1.0.11" />
* fix tests ?
* fix
* RequestMessageParamMatcher
2019-03-25 18:00:22 +01:00
Stef Heyenrath
f3c395833a
LinqMatcher and JsonUtils
2018-09-06 19:25:09 +02:00