mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #673] [MERGED] Support examples random data generation #1026
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/673
Author: @leolplex
Created: 10/28/2021
Status: ✅ Merged
Merged: 10/30/2021
Merged by: @StefH
Base:
master← Head:SupportExamplesRandomDataGeneration📝 Commits (5)
6db4272Add Support Random Generation in Examples, this commit add the bool property DynamicExamples.8a9f158Merge branch 'master' into SupportExamplesRandomDataGenerationab86c82Merge branch 'master' into SupportExamplesRandomDataGenerationa69f3bcComments applied2401ec6Remove '#pragma warning disable 1591'📊 Changes
6 files changed (+108 additions, -12 deletions)
View changed files
➕
src/WireMock.Net.OpenApiParser/Settings/IWireMockOpenApiParserExampleValues.cs(+52 -0)➕
src/WireMock.Net.OpenApiParser/Settings/WireMockOpenApiParserDynamicExampleValues.cs(+31 -0)📝
src/WireMock.Net.OpenApiParser/Settings/WireMockOpenApiParserExampleValues.cs(+10 -11)📝
src/WireMock.Net.OpenApiParser/Settings/WireMockOpenApiParserSettings.cs(+6 -1)📝
src/WireMock.Net.OpenApiParser/Utils/ExampleValueGenerator.cs(+8 -0)📝
src/WireMock.Net.OpenApiParser/WireMock.Net.OpenApiParser.csproj(+1 -0)📄 Description
Hello @StefH,
I hope you're doing well,
I added the support to Data Generation via
WireMockOpenApiParserSettingsthe idea is when the propertyDynamicExamplesis true Wiremock.net will be able to randomize the data. I used your awesome library RandomDataGenerator, thanks a lot.I hope to see this change soon in nuget, thank you very much Stef, Wiremock.Net has been very useful to me.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.