c

au.com.dius.pact.consumer.dsl

PactDslJsonBody

class PactDslJsonBody extends DslPart

DSL to define a JSON Object

Linear Supertypes
DslPart, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PactDslJsonBody
  2. DslPart
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PactDslJsonBody(rootPath: String, rootName: String, parent: DslPart)
  2. new PactDslJsonBody()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def and(name: String, value: Any, rules: <repeated...>[MatchingRule]): PactDslJsonBody

    Combine all the matchers using AND

    Combine all the matchers using AND

    name

    Attribute name

    value

    Attribute example value

    rules

    Matching rules to apply

  5. def array(): PactDslJsonArray

    Element as an array

    Element as an array

    Definition Classes
    PactDslJsonBodyDslPart
  6. def array(name: String): PactDslJsonArray

    Attribute that is an array

    Attribute that is an array

    name

    field name

    Definition Classes
    PactDslJsonBodyDslPart
  7. def asArray(): PactDslJsonArray
    Definition Classes
    DslPart
  8. def asBody(): PactDslJsonBody
    Definition Classes
    DslPart
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def booleanType(name: String, example: Boolean): PactDslJsonBody

    Attribute that must be a boolean

    Attribute that must be a boolean

    name

    attribute name

    example

    example boolean to use for generated bodies

  11. def booleanType(names: <repeated...>[String]): PactDslJsonBody

    Attributes that must be a boolean

    Attributes that must be a boolean

    names

    attribute names

  12. def booleanType(name: String): PactDslJsonBody

    Attribute that must be a boolean

    Attribute that must be a boolean

    name

    attribute name

  13. def booleanValue(name: String, value: Boolean): PactDslJsonBody

    Attribute that must be the specified boolean

    Attribute that must be the specified boolean

    name

    attribute name

    value

    boolean value

  14. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def close(): DslPart

    This closes off the object graph build from the DSL in case any close[Object|Array] methods have not been called.

    This closes off the object graph build from the DSL in case any close[Object|Array] methods have not been called.

    returns

    The root object of the object graph

    Definition Classes
    PactDslJsonBodyDslPart
  16. def closeArray(): DslPart

    Closes the current array

    Closes the current array

    Definition Classes
    PactDslJsonBodyDslPart
  17. def closeObject(): DslPart

    Closes the current JSON object

    Closes the current JSON object

    Definition Classes
    PactDslJsonBodyDslPart
  18. def date(name: String, format: String, example: Date): PactDslJsonBody

    Attribute that must match the provided date format

    Attribute that must match the provided date format

    name

    attribute date

    format

    date format to match

    example

    example date to use for generated values

  19. def date(name: String, format: String): PactDslJsonBody

    Attribute that must match the provided date format

    Attribute that must match the provided date format

    name

    attribute date

    format

    date format to match

  20. def date(name: String): PactDslJsonBody

    Attribute that must be formatted as an ISO date

    Attribute that must be formatted as an ISO date

    name

    attribute name

  21. def date(): PactDslJsonBody

    Attribute named 'date' that must be formatted as an ISO date

  22. def decimalType(name: String, number: Double): PactDslJsonBody

    Attribute that must be a decimalType value

    Attribute that must be a decimalType value

    name

    attribute name

    number

    example decimalType value

  23. def decimalType(name: String, number: BigDecimal): PactDslJsonBody

    Attribute that must be a decimalType value

    Attribute that must be a decimalType value

    name

    attribute name

    number

    example decimalType value

  24. def decimalType(names: <repeated...>[String]): PactDslJsonBody

    Attributes that must be a decimal values

    Attributes that must be a decimal values

    names

    attribute names

  25. def decimalType(name: String): PactDslJsonBody

    Attribute that must be a decimal value

    Attribute that must be a decimal value

    name

    attribute name

  26. def eachArrayLike(numberExamples: Int): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  27. def eachArrayLike(name: String, numberExamples: Int): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  28. def eachArrayLike(): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    Definition Classes
    PactDslJsonBodyDslPart
  29. def eachArrayLike(name: String): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    Definition Classes
    PactDslJsonBodyDslPart
  30. def eachArrayWithMaxLike(numberExamples: Int, size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  31. def eachArrayWithMaxLike(name: String, numberExamples: Int, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  32. def eachArrayWithMaxLike(size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  33. def eachArrayWithMaxLike(name: String, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    size

    Maximum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  34. def eachArrayWithMinLike(numberExamples: Int, size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    numberExamples

    number of examples to generate

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  35. def eachArrayWithMinLike(name: String, numberExamples: Int, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    numberExamples

    number of examples to generate

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  36. def eachArrayWithMinLike(size: Integer): PactDslJsonArray

    Array element where each element of the array is an array and must match the following object

    Array element where each element of the array is an array and must match the following object

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  37. def eachArrayWithMinLike(name: String, size: Integer): PactDslJsonArray

    Array field where each element is an array and must match the following object

    Array field where each element is an array and must match the following object

    name

    field name

    size

    Minimum size of the outer array

    Definition Classes
    PactDslJsonBodyDslPart
  38. def eachKeyLike(exampleKey: String, value: PactDslJsonRootValue): PactDslJsonBody

    Accepts any key, and each key is mapped to a map that must match the provided object definition

    Accepts any key, and each key is mapped to a map that must match the provided object definition

    exampleKey

    Example key to use for generating bodies

    value

    Value to use for matching and generated bodies

  39. def eachKeyLike(exampleKey: String): PactDslJsonBody

    Accepts any key, and each key is mapped to a map that must match the following object definition

    Accepts any key, and each key is mapped to a map that must match the following object definition

    exampleKey

    Example key to use for generating bodies

  40. def eachKeyMappedToAnArrayLike(exampleKey: String): PactDslJsonBody

    Accepts any key, and each key is mapped to a list of items that must match the following object definition

    Accepts any key, and each key is mapped to a list of items that must match the following object definition

    exampleKey

    Example key to use for generating bodies

  41. def eachLike(name: String, value: PactDslJsonRootValue, numberExamples: Int): PactDslJsonBody

    Attribute that is an array of values that are not objects where each item must match the following example

    Attribute that is an array of values that are not objects where each item must match the following example

    name

    field name

    value

    Value to use to match each item

    numberExamples

    number of examples to generate

  42. def eachLike(name: String, value: PactDslJsonRootValue): PactDslJsonBody

    Attribute that is an array of values that are not objects where each item must match the following example

    Attribute that is an array of values that are not objects where each item must match the following example

    name

    field name

    value

    Value to use to match each item

  43. def eachLike(numberExamples: Int): PactDslJsonBody

    Array element where each element of the array must match the following object

    Array element where each element of the array must match the following object

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  44. def eachLike(name: String, numberExamples: Int): PactDslJsonBody

    Attribute that is an array where each item must match the following example

    Attribute that is an array where each item must match the following example

    name

    field name

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  45. def eachLike(): PactDslJsonBody

    Array element where each element of the array must match the following object

    Array element where each element of the array must match the following object

    Definition Classes
    PactDslJsonBodyDslPart
  46. def eachLike(name: String): PactDslJsonBody

    Attribute that is an array where each item must match the following example

    Attribute that is an array where each item must match the following example

    name

    field name

    Definition Classes
    PactDslJsonBodyDslPart
  47. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def equalTo(name: String, value: Any): PactDslJsonBody

    Attribute that must be equal to the provided value.

    Attribute that must be equal to the provided value.

    name

    attribute name

    value

    Value that will be used for comparisons

  49. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  50. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  51. def getBody(): AnyRef
    Definition Classes
    PactDslJsonBodyDslPart
  52. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  53. def getGenerators(): Generators
    Definition Classes
    DslPart
  54. def getMatchers(): Category
    Definition Classes
    DslPart
  55. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  56. def hexValue(name: String, hexValue: String): PactDslJsonBody

    Attribute that must be encoded as a hexadecimal value

    Attribute that must be encoded as a hexadecimal value

    name

    attribute name

    hexValue

    example value to use for generated bodies

  57. def hexValue(name: String): PactDslJsonBody

    Attribute that must be encoded as a hexadecimal value

    Attribute that must be encoded as a hexadecimal value

    name

    attribute name

  58. def id(name: String, id: Long): PactDslJsonBody

    Attribute that must be a numeric identifier

    Attribute that must be a numeric identifier

    name

    attribute name

    id

    example id to use for generated bodies

  59. def id(name: String): PactDslJsonBody

    Attribute that must be a numeric identifier

    Attribute that must be a numeric identifier

    name

    attribute name

  60. def id(): PactDslJsonBody

    Attribute named 'id' that must be a numeric identifier

  61. def includesMatcher(value: Any): IncludeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  62. def includesStr(name: String, value: String): PactDslJsonBody

    Attribute that must include the provided string value

    Attribute that must include the provided string value

    name

    attribute name

    value

    Value that must be included

  63. def integerType(name: String, number: Integer): PactDslJsonBody

    Attribute that must be an integer

    Attribute that must be an integer

    name

    attribute name

    number

    example integer value to use for generated bodies

  64. def integerType(name: String, number: Long): PactDslJsonBody

    Attribute that must be an integer

    Attribute that must be an integer

    name

    attribute name

    number

    example integer value to use for generated bodies

  65. def integerType(names: <repeated...>[String]): PactDslJsonBody

    Attributes that must be an integer

    Attributes that must be an integer

    names

    attribute names

  66. def integerType(name: String): PactDslJsonBody

    Attribute that must be an integer

    Attribute that must be an integer

    name

    attribute name

  67. def ipAddress(name: String): PactDslJsonBody

    Attribute that must be an IP4 address

    Attribute that must be an IP4 address

    name

    attribute name

  68. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  69. def matchDate(format: String): DateMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  70. def matchMax(max: Integer): MaxTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  71. def matchMin(min: Integer): MinTypeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  72. def matchTime(format: String): TimeMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  73. def matchTimestamp(format: String): TimestampMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  74. def matchUrl(name: String, basePath: String, pathFragments: <repeated...>[AnyRef]): PactDslJsonBody

    Matches a URL that is composed of a base path and a sequence of path expressions

    Matches a URL that is composed of a base path and a sequence of path expressions

    name

    Attribute name

    basePath

    The base path for the URL (like "http://localhost:8080/") which will be excluded from the matching

    pathFragments

    Series of path fragments to match on. These can be strings or regular expressions.

  75. def maxArrayLike(name: String, size: Integer, value: PactDslJsonRootValue, numberExamples: Int): PactDslJsonBody

    Attribute that is an array of values with a maximum size that are not objects where each item must match the following example

    Attribute that is an array of values with a maximum size that are not objects where each item must match the following example

    name

    field name

    size

    maximum size of the array

    value

    Value to use to match each item

    numberExamples

    number of examples to generate

  76. def maxArrayLike(name: String, size: Integer, value: PactDslJsonRootValue): PactDslJsonBody

    Attribute that is an array of values with a maximum size that are not objects where each item must match the following example

    Attribute that is an array of values with a maximum size that are not objects where each item must match the following example

    name

    field name

    size

    maximum size of the array

    value

    Value to use to match each item

  77. def maxArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody

    Array element with a maximum size and each element of the array must match the provided object

    Array element with a maximum size and each element of the array must match the provided object

    size

    minimum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  78. def maxArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody

    Attribute that is an array with a maximum size where each item must match the following example

    Attribute that is an array with a maximum size where each item must match the following example

    name

    field name

    size

    maximum size of the array

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  79. def maxArrayLike(size: Integer): PactDslJsonBody

    Array element with a maximum size and each element of the array must match the provided object

    Array element with a maximum size and each element of the array must match the provided object

    size

    minimum size

    Definition Classes
    PactDslJsonBodyDslPart
  80. def maxArrayLike(name: String, size: Integer): PactDslJsonBody

    Attribute that is an array with a maximum size where each item must match the following example

    Attribute that is an array with a maximum size where each item must match the following example

    name

    field name

    size

    maximum size of the array

    Definition Classes
    PactDslJsonBodyDslPart
  81. def minArrayLike(name: String, size: Integer, value: PactDslJsonRootValue, numberExamples: Int): PactDslJsonBody

    Attribute that is an array of values with a minimum size that are not objects where each item must match the following example

    Attribute that is an array of values with a minimum size that are not objects where each item must match the following example

    name

    field name

    size

    minimum size of the array

    value

    Value to use to match each item

    numberExamples

    number of examples to generate

  82. def minArrayLike(name: String, size: Integer, value: PactDslJsonRootValue): PactDslJsonBody

    Attribute that is an array of values with a minimum size that are not objects where each item must match the following example

    Attribute that is an array of values with a minimum size that are not objects where each item must match the following example

    name

    field name

    size

    minimum size of the array

    value

    Value to use to match each item

  83. def minArrayLike(size: Integer, numberExamples: Int): PactDslJsonBody

    Array element with a minumum size and each element of the array must match the provided object

    Array element with a minumum size and each element of the array must match the provided object

    size

    minimum size

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  84. def minArrayLike(name: String, size: Integer, numberExamples: Int): PactDslJsonBody

    Attribute that is an array with a minimum size where each item must match the following example

    Attribute that is an array with a minimum size where each item must match the following example

    name

    field name

    size

    minimum size of the array

    numberExamples

    number of examples to generate

    Definition Classes
    PactDslJsonBodyDslPart
  85. def minArrayLike(size: Integer): PactDslJsonBody

    Array element with a minumum size and each element of the array must match the provided object

    Array element with a minumum size and each element of the array must match the provided object

    size

    minimum size

    Definition Classes
    PactDslJsonBodyDslPart
  86. def minArrayLike(name: String, size: Integer): PactDslJsonBody

    Attribute that is an array with a minimum size where each item must match the following example

    Attribute that is an array with a minimum size where each item must match the following example

    name

    field name

    size

    minimum size of the array

    Definition Classes
    PactDslJsonBodyDslPart
  87. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  88. final def notify(): Unit
    Definition Classes
    AnyRef
  89. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  90. def nullValue(fieldName: String): PactDslJsonBody

    Sets the field to a null value

    Sets the field to a null value

    fieldName

    field name

  91. def numberType(name: String, number: Number): PactDslJsonBody

    Attribute that can be any number

    Attribute that can be any number

    name

    attribute name

    number

    example number to use for generated bodies

  92. def numberType(names: <repeated...>[String]): PactDslJsonBody

    Attributes that can be any number

    Attributes that can be any number

    names

    attribute names

  93. def numberType(name: String): PactDslJsonBody

    Attribute that can be any number

    Attribute that can be any number

    name

    attribute name

  94. def numberValue(name: String, value: Number): PactDslJsonBody

    Attribute that must be the specified number

    Attribute that must be the specified number

    name

    attribute name

    value

    number value

  95. def object(): PactDslJsonBody

    Object element

    Object element

    Definition Classes
    PactDslJsonBodyDslPart
  96. def object(name: String): PactDslJsonBody

    Attribute that is a JSON object

    Attribute that is a JSON object

    name

    field name

    Definition Classes
    PactDslJsonBodyDslPart
  97. def or(name: String, value: Any, rules: <repeated...>[MatchingRule]): PactDslJsonBody

    Combine all the matchers using OR

    Combine all the matchers using OR

    name

    Attribute name

    value

    Attribute example value

    rules

    Matching rules to apply

  98. def putArray(object: DslPart): Unit
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    PactDslJsonBodyDslPart
  99. def putObject(object: DslPart): Unit
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    PactDslJsonBodyDslPart
  100. def regexp(regex: String): RegexMatcher
    Attributes
    protected[au.com.dius.pact.consumer.dsl]
    Definition Classes
    DslPart
  101. def setGenerators(generators: Generators): Unit
    Definition Classes
    DslPart
  102. def setMatchers(matchers: Category): Unit
    Definition Classes
    DslPart
  103. def stringMatcher(name: String, regex: String, value: String): PactDslJsonBody

    Attribute that must match the regular expression

    Attribute that must match the regular expression

    name

    attribute name

    regex

    regular expression

    value

    example value to use for generated bodies

  104. def stringType(name: String, example: String): PactDslJsonBody

    Attribute that can be any string

    Attribute that can be any string

    name

    attribute name

    example

    example value to use for generated bodies

  105. def stringType(names: <repeated...>[String]): PactDslJsonBody

    Attributes that can be any string

    Attributes that can be any string

    names

    attribute names

  106. def stringType(name: String): PactDslJsonBody

    Attribute that can be any string

    Attribute that can be any string

    name

    attribute name

  107. def stringValue(name: String, value: String): PactDslJsonBody

    Attribute that must be the specified value

    Attribute that must be the specified value

    name

    attribute name

    value

    string value

  108. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  109. def time(name: String, format: String, example: Date): PactDslJsonBody

    Attribute that must match the given time format

    Attribute that must match the given time format

    name

    attribute name

    format

    time format to match

    example

    example time to use for generated bodies

  110. def time(name: String, format: String): PactDslJsonBody

    Attribute that must match the given time format

    Attribute that must match the given time format

    name

    attribute name

    format

    time format to match

  111. def time(name: String): PactDslJsonBody

    Attribute that must be an ISO formatted time

    Attribute that must be an ISO formatted time

    name

    attribute name

  112. def time(): PactDslJsonBody

    Attribute named 'time' that must be an ISO formatted time

  113. def timestamp(name: String, format: String, example: Date): PactDslJsonBody

    Attribute that must match the given timestamp format

    Attribute that must match the given timestamp format

    name

    attribute name

    format

    timestamp format

    example

    example date and time to use for generated bodies

  114. def timestamp(name: String, format: String): PactDslJsonBody

    Attribute that must match the given timestamp format

    Attribute that must match the given timestamp format

    name

    attribute name

    format

    timestamp format

  115. def timestamp(name: String): PactDslJsonBody

    Attribute that must be an ISO formatted timestamp

  116. def timestamp(): PactDslJsonBody

    Attribute named 'timestamp' that must be an ISO formatted timestamp

  117. def toString(): String
    Definition Classes
    PactDslJsonBody → AnyRef → Any
  118. def uuid(name: String, uuid: String): PactDslJsonBody

    Attribute that must be encoded as an UUID

    Attribute that must be encoded as an UUID

    name

    attribute name

    uuid

    example UUID to use for generated bodies

  119. def uuid(name: String, uuid: UUID): PactDslJsonBody

    Attribute that must be encoded as an UUID

    Attribute that must be encoded as an UUID

    name

    attribute name

    uuid

    example UUID to use for generated bodies

  120. def uuid(name: String): PactDslJsonBody

    Attribute that must be encoded as an UUID

    Attribute that must be encoded as an UUID

    name

    attribute name

  121. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  123. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def arrayLike(): PactDslJsonBody

    Array element where each element of the array must match the following object

    Array element where each element of the array must match the following object

    Definition Classes
    PactDslJsonBodyDslPart
    Deprecated

    Use eachLike instead

  2. def arrayLike(name: String): PactDslJsonBody

    Attribute that is an array where each item must match the following example

    Attribute that is an array where each item must match the following example

    name

    field name

    Definition Classes
    PactDslJsonBodyDslPart
    Deprecated

    use eachLike

  3. def guid(name: String, uuid: String): PactDslJsonBody

    Attribute that must be encoded as a GUID

    Attribute that must be encoded as a GUID

    name

    attribute name

    uuid

    example UUID to use for generated bodies

    Deprecated

    use uuid instead

  4. def guid(name: String, uuid: UUID): PactDslJsonBody

    Attribute that must be encoded as a GUID

    Attribute that must be encoded as a GUID

    name

    attribute name

    uuid

    example UUID to use for generated bodies

    Deprecated

    use uuid instead

  5. def guid(name: String): PactDslJsonBody

    Attribute that must be encoded as a GUID

    Attribute that must be encoded as a GUID

    name

    attribute name

    Deprecated

    use uuid instead

  6. def realType(name: String, number: Double): PactDslJsonBody

    Attribute that must be a real value

    Attribute that must be a real value

    name

    attribute name

    number

    example real value

    Deprecated

    Use decimal instead

  7. def realType(name: String): PactDslJsonBody

    Attribute that must be a real value

    Attribute that must be a real value

    name

    attribute name

    Deprecated

    Use decimal instead

  8. def stringMatcher(name: String, regex: String): PactDslJsonBody

    Attribute that must match the regular expression

    Attribute that must match the regular expression

    name

    attribute name

    regex

    regular expression

    Deprecated

    Use the version that takes an example value

Inherited from DslPart

Inherited from AnyRef

Inherited from Any

Ungrouped