pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

Will this work for specs v2? #25

Closed christopher-francisco closed 5 years ago

christopher-francisco commented 5 years ago

as the question says

uglyog commented 5 years ago

It is backward compatible with older pact file formats. You need to make sure that the metadata section in the pact file has specification version 2.0.0 otherwise it will try load it as a V3 pact file.

i.e.,

"metadata": {
    "pact-specification": {
      "version": "2.0.0"
    }
  }