Pact Dsl - provider returning more records than in pact file
问题 I have the following classes:- public class Student { private String id; private String firstName; private String lastName; private int age; } public class DepartmentResponse { private String id; private String name; List<Student> students; } At Consumer side, I have the LamdaDsl as below: @Pact(consumer = "StudentServiceConsumer1") public RequestResponsePact createPact(PactDslWithProvider builder) { Map<String, String> headers = new HashMap(); headers.put("Content-Type", "application/json");