How can I return a pact with a string body regex? #1237
Unanswered
huehnerlady
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think you should just set the content type you want, I believe it will check the payload is of the correct type (not just the header). I don't think a regex would be a useful addition here. Regardless, matchers are only supported for JSON payloads |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to create a pact that loads a theme
I have the following:
An example should be
any idea how I can do that?
So far I always used
builder.jsonBody
and addedMatchersV3.like(<jsonObject>
in.Beta Was this translation helpful? Give feedback.
All reactions