https://linen.dev logo
#wiremock-java
Title
# wiremock-java
d

Dirk Bolte

12/19/2023, 3:08 PM
Hi. I'm working on a feature for the WireMock state extension which to allow usage of WireMock's built-in matchers nested within the matchers of this extension. I achieved this by mapping the parameters to
StringValuePattern
and have jackson do the rest. While this works in principle I wonder whether there would be any better way, especially as this approach would only allow usage of the built-in matchers - any other matchers added by any extensions won't be found. The code adding the feature is in https://github.com/wiremock/wiremock-state-extension/pull/109 , more specifically: https://github.com/wiremock/wiremock-state-extension/pull/109/files#diff-3465e196989cfc97ec722ebb16df164ee02cde253c437c320ee968691fd30e16R168
2 Views