package
model
Type Members
-
-
case class
Consumer(name: String) extends Product with Serializable
-
-
-
-
case class
Interaction(description: String, providerState: Option[String], request: Request, response: Response) extends Product with Serializable
-
-
case class
MockProviderConfig(port: Int, interface: String) extends Product with Serializable
-
trait
Optionals extends AnyRef
-
-
-
-
case class
Provider(name: String) extends Product with Serializable
-
case class
Request(method: String, path: String, headers: Option[Map[String, String]], body: Option[JValue], matchers: Option[JSONObject]) extends Product with Serializable
-
-
case class
RequestMatching(expectedInteractions: Seq[Interaction]) extends Product with Serializable
-
-
case class
Response(status: Int, headers: Option[Map[String, String]], body: Option[JValue], matchers: Option[JSONObject]) extends Product with Serializable
-
sealed
trait
ResponseMatch extends AnyRef
-
-
-
-
-
case class
Pact(provider: Provider, consumer: Consumer, interactions: Seq[Interaction]) extends PactSerializer with Product with Serializable
Use PactFragment where possible, same functionality but more appropriate language. The serialized file is the true pact