Good morning all! Does the local API stubs have th...
# pact-broker
a
Good morning all! Does the local API stubs have the same limitations as the stubs provided by PactFlow? (The ignore to matching rules from PactV3 onwards) https://docs.pact.io/getting_started/stubs https://docs.pactflow.io/docs/stubs/
blobwave 1
y
Hey Alex! So this page https://docs.pact.io/getting_started/stubs references two implementations, the ruby and rust version, which have different levels of spec support (v2 and below for Ruby, v4 and below for the rust based ) • https://docs.pact.io/getting_started/stubs#docker ◦ this mentions this docker image https://hub.docker.com/r/pactfoundation/pact-stub-server ◦ which comes from this repo https://github.com/pact-foundation/pact-stub-server ▪︎ this is Rust based and as such supports V4 pact-specs and below and should honour your matching rules • https://docs.pact.io/getting_started/stubs#cli-tools ◦ this references the ruby cli tools here https://github.com/pact-foundation/pact-ruby-standalone/releases ◦ these support up to v2 pact-spec, and I believe subject to the same caveats here ▪︎ https://docs.pactflow.io/docs/stubs/#supported-pact-specification-versions ◦ I believe of the ruby tools in PactFlow, it uses the pact-stub-service here but I stand to be corrected
🙌 2
a
Thanks a lot @Yousaf Nabi (pactflow.io)! That's what I call a clear response 🙂
💯 1