1

I would like to use handlebars partials in WireMock. Unfortunately I can't find a way to register those in the docs.

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
ehirsch
  • 13
  • 4

1 Answers1

1

Presently there is no support for HandleBars Partials in WireMock.

HandleBars is supported in the Response Template transformer and feature is handled as an extension. In the GitHub the ResponsTemplateTransformer.java handles the processing.

It's functionality can be extended using WireMock HandleBars 'helpers'. These are extensions documented on the Custom extensions page (bottom of the page) and examples in the GitHub code can be found here: responsetemplateing/helpers

A. Kootstra
  • 6,827
  • 3
  • 20
  • 43