public LambdaDslObject maxArrayLike ( String name , Integer size , Consumer < LambdaDslObject > nestedObject ) { final PactDslJsonBody maxArrayLike = object . maxArrayLike ( name , size ) ; final LambdaDslObject dslObject = new LambdaDslObject ( maxArrayLike ) ; nestedObject . accept ( dslObject ) ; maxArrayLike . closeArray ( ) ; return this ; }
Attribute that is an array with a maximum size where each item must match the following example