Stef Heyenrath
57f89a06e1
Update WireMockOpenApiParserSettings
2021-11-29 08:40:39 +01:00
Daniel L. Romero
4d80eb53fe
Allow configure IgnoreCase in settings ( #695 )
...
* Add IgnoreCase = true in Request body, query parameters, headers, example value
* Ignorecase is configurable in settings!
* Remove unnecesary comments!
2021-11-29 08:25:15 +01:00
Daniel L. Romero
13c002fede
Filter required properti in headers, query params, request body ( #696 )
2021-11-27 09:44:24 +01:00
mcheguini
9db6e800ad
RamlToOpenAPI updated to 0.5.0 ( #694 )
...
Co-authored-by: Mazeyar <mcheguini@valley.com >
2021-11-26 20:53:16 +01:00
Stef Heyenrath
897ee9ffe3
Update the OpenApiPathsMapper to handle Value/Wildcard ( #691 )
2021-11-23 08:09:38 +01:00
Stef Heyenrath
8865543bf1
some code refactorings for WireMock.Net.OpenApiParser
2021-11-21 10:07:27 +01:00
Snyk bot
7f2a42de96
fix: src/WireMock.Net/WireMock.Net.csproj to reduce vulnerabilities ( #686 )
...
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DOTNET-MICROSOFTOWIN-1019387
2021-11-19 10:37:09 +01:00
Stef Heyenrath
c333b8b263
1.4.27
2021-11-17 07:45:08 +00:00
Daniel L. Romero
32ddd48321
Support RequestBody ( #678 )
...
* Support RequestBody
* SerializeObject in the request matcher and apply JsonMatcher
* Refactor names
* Call to method TryGetContent
* Applied comments
* Changes applied!
* Comments applied V2!
2021-11-17 08:16:31 +01:00
Daniel L. Romero
260abf5275
Support enums in properties ( #681 )
...
* Support enums when a example is generated, priority is the enum
* Add null validation to Enum
* Refactor MapSchemaEnum
* Redactor merhod name
* Resolve merge conflict
* Check schema null
* Refactor GetRandom method
2021-11-16 20:38:34 +01:00
Daniel L. Romero
d3b2422ec1
Support examples in properties ( #680 )
...
* When the schema properti has an example then it uses the example
* Comments applied
2021-11-08 08:45:01 +01:00
Daniel L. Romero
49e10ed20f
Support basepath from servers ( #675 )
...
* Support basepath from servers
* Refactor BasePath
* Comments applied
2021-11-02 15:28:02 +01:00
Daniel L. Romero
c3ec3a66b3
Fix random generate data in url no spaces ( #676 )
...
* Fix random generate data in url no spaces
* Format class
2021-11-01 18:53:44 +01:00
Stef Heyenrath
6e5e629525
"RandomDataGenerator.Net" Version="1.0.13"
2021-10-30 09:15:43 +02:00
Daniel L. Romero
77ee123340
Support examples random data generation ( #673 )
...
* Add Support Random Generation in Examples, this commit add the bool property DynamicExamples.
* Comments applied
* Remove '#pragma warning disable 1591'
2021-10-30 09:13:24 +02:00
Daniel L. Romero
ae2a05e86b
Improve method MapSchemaToObject to support array and object ( #670 )
2021-10-28 08:21:30 +02:00
Stef Heyenrath
e9db520cc3
Add TimeSettings (Start, End and TTL) ( #661 )
...
* time
* .
* UT
* using JetBrains.Annotations;
2021-10-27 18:57:13 +02:00
Stef Heyenrath
a0e661fae9
Support Schema Example and Support AllOf in definitions ( #669 )
...
* Support an Example within a Schema
* Support AllOf in definitions
* Refactor MapSchemaAllOfToObject method and add test files
* Include schema examples
* Refactor duplicate code, create method MapPropertyAsJObject
* Remove commented code
* Merge from master + update WireMock.Net.OpenApiParser.ConsoleApp
Co-authored-by: Daniel <raiga1234@gmail.com >
2021-10-27 09:40:12 +02:00
Stef Heyenrath
25666152bb
Add JsonPartialWildcardMatcher ( #667 )
...
* JsonPartialWildcardMatcher
* .
* more tests
2021-10-27 08:16:18 +02:00
Stef Heyenrath
6f5eeb5359
Use IWireMockLogger in example
2021-10-26 18:40:34 +02:00
Stef Heyenrath
7ca2095576
Update logging (add version)
2021-10-24 10:44:39 +02:00
Daniel L. Romero
74edad517b
Support Array in OpenApi Examples ( #664 )
2021-10-21 22:12:59 +02:00
Stef Heyenrath
affe388e30
Add support for AzureAD authentication for REST admin interface ( #637 )
2021-10-20 16:39:51 +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
Daniel L. Romero
a2a581c84b
Refactor method name MapHeaders and httpStatusCode ( #649 )
...
* Support edge case: first object, next an array.
* Add mapping to header parameters.
* Refactor the method MapHeadersParameters to MapHeaders
* Refactor method name 'cause is duplicate, only pass httpStatusCode when fail
2021-10-10 19:22:28 +02:00
Daniel L. Romero
267f0b7b6d
Mapping headers in OpenAPI ( #644 )
...
* Support edge case: first object, next an array.
* Add mapping to header parameters.
* Refactor the method MapHeadersParameters to MapHeaders
2021-10-07 19:15:26 +02:00
Daniel L. Romero
34083d826e
Support edge case: first object, next an array. ( #643 )
2021-10-06 17:18:46 +02:00
Stef Heyenrath
72eec7140b
WireMock.FluentAssertions
2021-09-29 15:33:06 +00:00
Stef Heyenrath
2ab075ee09
WireMock.Net.FluentAssertions : upgrade to latest FluentAssertions ( #635 )
...
* .
* #634
* fix UT
2021-09-27 21:03:54 +02:00
Stef Heyenrath
ba0b9d9fd8
Implement Random Delay ( #633 )
...
* implement random delays
* fixing CodeFactor issue
* fix code comments
* ...
* UT
Co-authored-by: Michael Yarichuk <michael.yarichuk@gmail.com >
2021-09-22 13:37:41 +02:00
Stef Heyenrath
cb66c04199
Add WireMock.org RestClient ( #631 )
...
* wip...
* x
* .
* .
* .
* r
* 1.4.21-preview-02
* 1.4.21-preview-03
* .
* usings
* wip
* .
* ut
* .
* .
* .
* tests
* .
* comments
* readme
2021-09-16 14:35:08 +02:00
Stef Heyenrath
f5d624eeed
Fix issue with FluentBuilder ( #628 )
2021-08-06 12:17:05 +02:00
Stef Heyenrath
0f99e06acc
Add NotNullOrEmptyMatcher ( #625 )
2021-08-04 16:22:22 +02:00
Stef Heyenrath
9d0682bff6
Add FluentBuilder for client models ( #622 )
2021-08-04 15:40:35 +02:00
Stef Heyenrath
4b435faf0b
Update Handlebars.Net.Helpers.XPath to fix issue with 'xml version' ( #619 )
...
Update Handlebars.Net.Helpers.XPath to fix issue with 'xml version'
2021-07-10 11:43:59 +02:00
Stef Heyenrath
6f42aa99bc
Handlebars.Net.Helpers.Humanizer ( #617 )
2021-07-07 17:02:15 +02:00
Stef Heyenrath
4052a0ef3b
Upgrade Handlebars.Net.Helpers to 2.19 ( #616 )
...
* Upgrade Handlebars.Net.Helpers to 2.19
* fix ut
2021-06-05 10:59:09 +02:00
Stef Heyenrath
b04000bfdd
Add support for multiple webhooks ( #615 )
2021-05-19 13:58:48 +02:00
starkpl
80b5eaac6e
Add AdditionalServiceRegistration action for custom ASP.NET Core DI setup ( #611 )
2021-05-11 07:37:20 +02:00
Stef Heyenrath
d91b5d5831
Add possibility to use settings to generate MappingModel models with wildcard path parameters. ( #609 )
...
* Add optional settings for WithMappingFromOpenApi
* .
* .
* cleanup
2021-04-26 14:44:45 +02:00
dependabot[bot]
29974c7ad4
Bump System.Net.Http from 4.3.3 to 4.3.4 in /src/WireMock.Net ( #605 )
...
Bumps System.Net.Http from 4.3.3 to 4.3.4.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-22 07:48:39 +02:00
Stef Heyenrath
fbecd3b119
Fix match logic ( #604 )
2021-04-18 21:30:03 +02:00
Stef Heyenrath
969b0da8e2
Fix callback with Headers ( #603 )
2021-04-15 19:41:45 +02:00
Stef Heyenrath
8140b37095
WithProxy() should save the new mapping ( #600 )
...
* WithProxy should save the new mapping
* fix ut
* .
2021-03-31 18:17:27 +02:00
Stef Heyenrath
d758301e4f
Webhook ( #591 )
...
Webhook
2021-03-24 18:15:31 +01:00
Ben Arnold
6f7d2c83f5
Remove an approximate two second delay in response to the first request from a new socket connection, only occuring on some Windows 10 machines. ( #597 )
...
A side-effect of this fix is that is also allows connections to IPv6 addresses.
2021-03-21 09:12:19 +01:00
Stef Heyenrath
2fb0f92a2d
Use Handlebars.Net.Helpers Version="2.1.2" ( #595 )
2021-03-19 15:17:39 +01:00
Stef Heyenrath
ddf2b49240
wip ( #594 )
2021-03-18 14:29:13 +01:00
Stef Heyenrath
aa8510fab3
Fix WithCallback logic when using other fluent builder statements ( #587 )
2021-02-26 13:10:25 +01:00