A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/WireMock-Net/WireMock.Net/issues/1106 below:

Documentation is misleading/incomplete for BodyAsFile · Issue #1106 · wiremock/WireMock.Net · GitHub

Describe the bug

The sample code at:

https://github.com/WireMock-Net/WireMock.Net/wiki/Response-Templating#mapping-json-example-using-handlebarsnet

Is incomplete which leads to a very frustrating experience. Tried for an hour or two to get transformers working until I found the following issue:

#386

The docs need to be updated to include that we also need to have the following property for this to work (btw why introduce another property?):

"UseTransformerForBodyAsFile": true

I did notice (now I know what to look for), a reference at:

UseTransformerForBodyAsFile

However, that should be a little clearer too, as it doesn't call out its to be included in the response.json file.

Expected behavior:

Docs provide clear and working example, which they don't.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4