Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone mock server v2 - specifying pact specification version #1

Open
YOU54F opened this issue Sep 25, 2024 · 0 comments
Open

standalone mock server v2 - specifying pact specification version #1

YOU54F opened this issue Sep 25, 2024 · 0 comments

Comments

@YOU54F
Copy link
Member

YOU54F commented Sep 25, 2024

Testing out the v2 standalone mock server. I’ve provided it a v4 pact and on successful verification it is written out as a v3 pact file.

should it be possible to specify the pact spec version that will be output, either on start of the master server or on creation of individual servers?

or could it be specified at verification time, as that is the point where the pacts are serialised to disc ( and could therefore be converted to any spec )

in the ruby mock service cli

https://github.com/pact-foundation/pact-mock_service?tab=readme-ov-file#mock-service-usage

-i, [--pact-specification-version=PACT_SPECIFICATION_VERSION] # The pact specification version to use when writing the pact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant