mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-02-22 00:37:50 +01:00
* XPath transformer, added handlerbars helper to select nodes using xpath and setting the outerxml value in response * Added test to select attribute value and node text * Removed extra empty lines
25 lines
695 B
C#
25 lines
695 B
C#
using HandlebarsDotNet;
|
|
using WireMock.Handlers;
|
|
|
|
namespace WireMock.Transformers
|
|
{
|
|
internal static class HandlebarsHelpers
|
|
{
|
|
public static void Register(IHandlebars handlebarsContext, IFileSystemHandler fileSystemHandler)
|
|
{
|
|
HandleBarsRegex.Register(handlebarsContext);
|
|
|
|
HandleBarsJsonPath.Register(handlebarsContext);
|
|
|
|
HandleBarsLinq.Register(handlebarsContext);
|
|
|
|
HandleBarsRandom.Register(handlebarsContext);
|
|
|
|
HandleBarsXeger.Register(handlebarsContext);
|
|
|
|
HandleBarsXPath.Register(handlebarsContext);
|
|
|
|
HandleBarsFile.Register(handlebarsContext, fileSystemHandler);
|
|
}
|
|
}
|
|
} |