https://pact.io logo
Join Slack
Powered by
# swagger-integration
  • m

    Matt (pactflow.io / pact-js / pact-go)

    02/15/2022, 9:31 PM
    Hi Bernard! We don’t have a way to generate a pact file from an OAS (that would be a bad idea)
    b
    • 2
    • 6
  • m

    Matt (pactflow.io / pact-js / pact-go)

    02/15/2022, 9:31 PM
    Which page on the docs site, referred you?
    b
    • 2
    • 1
  • m

    Matt (pactflow.io / pact-js / pact-go)

    02/15/2022, 9:32 PM
    In any case, Pactflow has a new feature (in dev preview) called bi-directional contracts. It allows you to use the OAS as a provider contract, but the consumer still needs to publish a consumer contract. This can be via a standard Pact test, or by converting existing mocks into a pact file. This way, you still know what the consumer needs, and Pactflow can ensure the provider meets those needs.
    👍 1
    s
    • 2
    • 3