mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #681] [MERGED] Support enums in properties #1032
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/681
Author: @leolplex
Created: 11/8/2021
Status: ✅ Merged
Merged: 11/16/2021
Merged by: @StefH
Base:
master← Head:SupportEnumsInProperties📝 Commits (9)
d3d8e3fSupport enums when a example is generated, priority is the enum7c492ccAdd null validation to Enum81ae168Refactor MapSchemaEnum819f81dRedactor merhod namea7d118eMerge branch 'master' into SupportEnumsInPropertiesa0f60a4Resolve merge conflictcdebadfCheck schema null70d28d2Merge branch 'SupportEnumsInProperties' of https://github.com/leolplex/WireMock.Net into SupportEnumsInProperties0c55776Refactor GetRandom method📊 Changes
1 file changed (+42 additions, -11 deletions)
View changed files
📝
src/WireMock.Net.OpenApiParser/Utils/ExampleValueGenerator.cs(+42 -11)📄 Description
Hello @StefH ,
The idea here is support that when a property will have an enum one of them is selected random.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.