pact

export active expectations as a Pact contract

Exports the current active expectations as a Pact consumer-driven contract (JSON). The optional 'consumer' and 'provider' query parameters set the contract's consumer and provider names.

put/mockserver/pact

Request

  • Base URL: http://localhost:1080
  • URL: http://localhost:1080/mockserver/pact
  • Auth: none declared

Query parameters

consumerstring

consumer name to record in the exported Pact contract

providerstring

provider name to record in the exported Pact contract

Response

Pact contract exported

object required

Pact consumer-driven contract document

Changes

No recorded changes to this operation across all 1 revision of this API.