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

Use passed specSwaggerName when provided #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gnunn1
Copy link

@gnunn1 gnunn1 commented Jul 6, 2018

This PR changes the behavior of the apidetails page so that it uses the swagger spec specified in apis.json rather then using the swagger spec for the first matching service.

With the current page, if you have one service but multiple activedocs that map to that service it always uses the swagger spec from the first entry in apis.json. I have a customer where they have one endpoint but the services under that endpoint each have their own swagger specification. While it's certainly possible to define each one as a separate service in 3scale, this can be a bit painful if there is many of them.

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

Successfully merging this pull request may close these issues.

1 participant