Why python wiremock doesnt respect precision and returns numbers as string?
I am trying basic mock example on decimals using wiremock and I couldn't get it to work. And I dont see any example online either. Below is the response section of my json file
"response": {
"status": 200,
"jsonBody": {
"weekly_rate": "{{randomDecimal lower=100.00 upper=800.00 precision=2}}",
"max_amount": "{{randomDecimal lower=5000.00 upper=20000.00 precision=2}}"
},
"transformers": ["response-template"]
}
and I get this response
{
"weekly_rate":...