public static class PactDslJsonArray.Companion
@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayEachLike(int numberExamples)
Array where each item must match the following example
numberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayEachLike()
Array where each item must match the following example
@JvmStatic @NotNull public PactDslJsonArray arrayEachLike(@NotNull PactDslJsonRootValue rootValue)
Root level array where each item must match the provided matcher
@JvmStatic @NotNull public PactDslJsonArray arrayEachLike(int numberExamples, @NotNull PactDslJsonRootValue value)
Root level array where each item must match the provided matcher
numberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayMinLike(int minSize, int numberExamples)
Array with a minimum size where each item must match the following example
minSize - minimum sizenumberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayMinLike(int minSize)
Array with a minimum size where each item must match the following example
minSize - minimum size@JvmStatic @NotNull public PactDslJsonArray arrayMinLike(int minSize, @NotNull PactDslJsonRootValue value)
Root level array with minimum size where each item must match the provided matcher
minSize - minimum size@JvmStatic @NotNull public PactDslJsonArray arrayMinLike(int minSize, int numberExamples, @NotNull PactDslJsonRootValue value)
Root level array with minimum size where each item must match the provided matcher
minSize - minimum sizenumberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayMaxLike(int maxSize, int numberExamples)
Array with a maximum size where each item must match the following example
maxSize - maximum sizenumberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayMaxLike(int maxSize)
Array with a maximum size where each item must match the following example
maxSize - maximum size@JvmStatic @NotNull public PactDslJsonArray arrayMaxLike(int maxSize, @NotNull PactDslJsonRootValue value)
Root level array with maximum size where each item must match the provided matcher
maxSize - maximum size@JvmStatic @NotNull public PactDslJsonArray arrayMaxLike(int maxSize, int numberExamples, @NotNull PactDslJsonRootValue value)
Root level array with maximum size where each item must match the provided matcher
maxSize - maximum sizenumberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayMinMaxLike(int minSize, int maxSize, int numberExamples)
Array with a minimum and maximum size where each item must match the following example
minSize - minimum sizemaxSize - maximum sizenumberExamples - Number of examples to generate@JvmOverloads @JvmStatic @NotNull public PactDslJsonBody arrayMinMaxLike(int minSize, int maxSize)
Array with a minimum and maximum size where each item must match the following example
minSize - minimum sizemaxSize - maximum size@JvmStatic @NotNull public PactDslJsonArray arrayMinMaxLike(int minSize, int maxSize, @NotNull PactDslJsonRootValue value)
Root level array with minimum and maximum size where each item must match the provided matcher
minSize - minimum sizemaxSize - maximum size@JvmStatic @NotNull public PactDslJsonArray arrayMinMaxLike(int minSize, int maxSize, int numberExamples, @NotNull PactDslJsonRootValue value)
Root level array with minimum and maximum size where each item must match the provided matcher
minSize - minimum sizemaxSize - maximum sizenumberExamples - Number of examples to generate