Add SaveToFile in the mapping (#284)

* savetofile

* fix !
This commit is contained in:
Stef Heyenrath
2019-06-17 20:34:16 +02:00
committed by GitHub
parent 561bb75f9f
commit 7a4814e335
32 changed files with 277 additions and 168 deletions

View File

@@ -39,13 +39,18 @@ namespace WireMock.Admin.Mappings
public string SetStateTo { get; set; }
/// <summary>
/// The request.
/// The request model.
/// </summary>
public RequestModel Request { get; set; }
/// <summary>
/// The response.
/// The response model.
/// </summary>
public ResponseModel Response { get; set; }
/// <summary>
/// Saves this mapping as a static mapping file.
/// </summary>
public bool? SaveToFile { get; set; }
}
}

View File

@@ -58,9 +58,9 @@ namespace WireMock.Admin.Mappings
public EncodingModel BodyEncoding { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [use transformer].
/// Use Handlebars transformer.
/// </summary>
public bool UseTransformer { get; set; }
public bool? UseTransformer { get; set; }
/// <summary>
/// Gets or sets the headers.