mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-18 16:17:10 +01:00
Fix random generate data in url no spaces (#676)
* Fix random generate data in url no spaces * Format class
This commit is contained in:
@@ -26,6 +26,6 @@ namespace WireMock.Net.OpenApiParser.Settings
|
||||
/// <inheritdoc />
|
||||
public object Object { get; set; } = "example-object";
|
||||
/// <inheritdoc />
|
||||
public string String { get { return RandomizerFactory.GetRandomizer(new FieldOptionsTextWords()).Generate() ?? "example-string"; } set { } }
|
||||
public string String { get { return RandomizerFactory.GetRandomizer(new FieldOptionsTextRegex { Pattern = @"^[0-9]{2}[A-Z]{5}[0-9]{2}" }).Generate() ?? "example-string"; } set { } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user