How to correctly define and handle a static JSON array in WireMock Handlebars extension?
I'm using WireMock's standalone version with Handlebars for creating dynamic responses. I need to include a static JSON array in the JWT payload. However, when I try to define the array in the mapping file, it's treated as a string rather than a JSON array.
Here is a simple example of my configuration:
Request:
{
"request": {
"method": "GET",
"urlPath": "/api/test"
},
"response": {
"status": 200,
"body": "{{{jwt
userId='12345'
userName='testUser'...