PACT .NET consumer test: flexible length array
问题 I am using pactNet to test an API which should return an array of a flexible length. If i call "myApi/items/" it should return a list of items where the consumer does not know the exact size of. So the answer should look like this: [ { "id": "1", "description": "foo" }, { "id": "2", "description": "foo2" }, { "id": "3", "description": "foo3" } ] or this: [ { "id": "4", "description": "foo4" }, { "id": "2", "description": "foo2" } ] How do I create the contract for this interaction? In the