Bill Kehoe
06/16/2023, 11:15 AMA provider contract for <my-service> version <my-service=-version> already exists with different content and may not be modified.
I guess the next obvious question is whether pact-broker even supports relative $ref references in the base openapi spec JSON file.Yousaf Nabi (pactflow.io)
• OAS documents must not be split across multiple files. You should combine any documents together, using tools like OpenAPI Merge or speccy. That is, PactFlow can not resolve remote references to files, and will not resolve URL references
Yousaf Nabi (pactflow.io)
• It is recommended to programmatically dereference and inlinein the OAS document uploaded to PactFlow, as they can cause issues when validating$refs
fields and nestednullable
can not be accurately compared with a pact file. This can be accomplished using packages such as json-schema-merge-allof and json-schema-resolve-allof$refs
Yousaf Nabi (pactflow.io)
Bill Kehoe
06/16/2023, 11:58 AMBill Kehoe
06/16/2023, 11:58 AMMatt (pactflow.io / pact-js / pact-go)