https://linen.dev logo
#help
Title
a

Anton Smirnov

05/30/2023, 7:51 AM
Hi everyone, can someone advice me on json template? I am getting a list of IDs in a body of a request and my goal is to generate response only for the first half of the IDs, I've tried "array" with "size", but it doesn't work as an array index for some reason.
o

Oleg Nenashev

05/30/2023, 8:45 AM
What is your current definition?
a

Anton Smirnov

05/30/2023, 8:58 AM
what do you mean
I don't understand what you mean by 'definition' in my question
o

Oleg Nenashev

05/30/2023, 9:23 AM
Mock Stub JSON you pass to WireMock