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

Visualize different pact consumer version #82

Closed
soundstep opened this issue Feb 24, 2017 · 4 comments
Closed

Visualize different pact consumer version #82

soundstep opened this issue Feb 24, 2017 · 4 comments

Comments

@soundstep
Copy link

soundstep commented Feb 24, 2017

Hi,

I noticed that I'm not able to visualize the "not-latest" versions the same way I visualize the latest version.

With:
http://example.pactbroker.com/pacts/provider/a-provider/consumer/a-consumer/latest

I get an HTML response:
https://raw.githubusercontent.com/wiki/bethesque/pact_broker/images/autogenerated_documentation.png

With a previous version:
http://example.pactbroker.com/pacts/provider/a-provider/consumer/a-consumer/version/0.0.1

I get a JSON response: the actual pact file.

Is that a bug? Would you consider a PR to fix this? I didn't look at code yet.

Cheers.

Copying: @HuwByrn @itsDanOades @testerindevelopment

@bethesque
Copy link
Member

@soundstep are you using a hosted pact broker or running your own?

@soundstep
Copy link
Author

We are running our own, from this repo I guess, hosted on amazon.

@bethesque
Copy link
Member

Just update your gem to 1.16.0 and you should have the HTML content type for the "non latest" pact page.

@soundstep
Copy link
Author

Oh great, thank you @bethesque !

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

2 participants