Conditionals for templating #361

Closed
opened 2025-12-29 08:26:56 +01:00 by adam · 2 comments
Owner

Originally created by @devmariodiaz on GitHub (Oct 6, 2021).

Mr Stef,

I hope that everything is doing well.

I have a question: Is there any way to use conditional in templating response?

Originally created by @devmariodiaz on GitHub (Oct 6, 2021). Mr Stef, I hope that everything is doing well. I have a question: Is there any way to use conditional in templating response?
adam added the question label 2025-12-29 08:26:56 +01:00
adam closed this issue 2025-12-29 08:26:56 +01:00
Author
Owner

@StefH commented on GitHub (Oct 6, 2021):

Hello Mario.

WireMock.Net uses Handlebars.Net which follows the same logic as handlebars.js

See this page on how to use if : https://handlebarsjs.com/guide/builtin-helpers.html#if

@StefH commented on GitHub (Oct 6, 2021): Hello Mario. WireMock.Net uses Handlebars.Net which follows the same logic as handlebars.js See this page on how to use `if` : https://handlebarsjs.com/guide/builtin-helpers.html#if
Author
Owner

@devmariodiaz commented on GitHub (Oct 6, 2021):

Hello Mr. Stef, That's great, big thanks for your valuable help.

@devmariodiaz commented on GitHub (Oct 6, 2021): Hello Mr. Stef, That's great, big thanks for your valuable help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#361