public LambdaDslJsonArray minMaxArrayLike ( Integer minSize , Integer maxSize , Consumer < LambdaDslJsonBody > nestedObject ) { final PactDslJsonBody arrayLike = pactArray . minMaxArrayLike ( minSize , maxSize ) ; final LambdaDslJsonBody dslBody = new LambdaDslJsonBody ( arrayLike ) ; nestedObject . accept ( dslBody ) ; arrayLike . closeArray ( ) ; return this ; }
Element that is an array with a minimum and maximum size where each item must match the following example