Stef Heyenrath
e8e28c21a1
Use NuGet "Stef.Validation" ( #707 )
...
* Use NuGet "Stef.Validation"
* nuget
* .
2021-12-30 10:44:50 +01:00
Bruno Targhetta
fd1f4968b4
Provide open api schema to dynamic examples generator so you can generate accurate data ( #706 )
...
* Provide open api schema to dynamic examples generator so you can generate accurate data using settings like max-length in case of a string
* Rename Schema Property and add a dynamic examples generator with properties from settings like max-length
* Remove blank lines
* Add virtual to all public method in WireMockOpenApiParserExampleValues and ireMockOpenApiParserDynamicExampleValues to extend and overrides examples values
2021-12-28 17:38:42 +01:00
Stef Heyenrath
b5ae087b95
Add .ConfigureAwait(false); to the await Task calls ( #704 )
...
Add .ConfigureAwait(false); to the await Task calls
2021-12-24 14:08:43 +01:00
Stef Heyenrath
1d1ff4a418
SaveUnmatchedRequests ( #703 )
2021-12-24 09:34:26 +01:00
Stef Heyenrath
3e1c3598f7
RegexExtended : fix SonarCloud issue
2021-12-14 07:57:42 +00:00
Stef Heyenrath
5280970765
1.4.29
2021-12-12 15:51:56 +01:00
Stef Heyenrath
6943b90da6
RegexExtended in settings ( #700 )
...
* Add extra unittest for RegexExtended
* settings
2021-12-12 15:40:38 +01:00
Michael Brogdon
4a434b5dba
GUID Pattern support in RegexMatcher ( #699 )
...
* Add the RegexGuid class
* Use of RegexGuid in the RegexMatcher
* Fix up the CodeFactor violations
* Rename RegexGuid --> RegexExtended
2021-12-11 10:57:15 +01:00
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