mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-25 17:58:33 +02:00
Implement prefix for saved mapping file (#1040)
* Implement PrefixForSavedMappingFile * Add missing new line * Add missing new line * Fix warning * Fix typo * Change from readonly to const * Assign default value * Use nameof() * Change from readonly to const * Update tests * Update failing test * Rename settingsMock to settings * Create public const * Use const from ProxyAndRecordSettings --------- Co-authored-by: Mindaugas Laganeckas <mindaugas.laganeckas@nexigroup.com>
This commit is contained in:
committed by
GitHub
parent
68ad015dcf
commit
7b8e7bb684
@@ -120,6 +120,7 @@ public static class WireMockServerSettingsParser
|
||||
SaveMappingToFile = parser.GetBoolValue("SaveMappingToFile"),
|
||||
UseDefinedRequestMatchers = parser.GetBoolValue(nameof(ProxyAndRecordSettings.UseDefinedRequestMatchers)),
|
||||
AppendGuidToSavedMappingFile = parser.GetBoolValue(nameof(ProxyAndRecordSettings.AppendGuidToSavedMappingFile)),
|
||||
PrefixForSavedMappingFile = parser.GetStringValue(nameof(ProxyAndRecordSettings.PrefixForSavedMappingFile), null),
|
||||
Url = proxyUrl!,
|
||||
SaveMappingSettings = new ProxySaveMappingSettings
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user