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

Overridden path-level parameters appear in operation display #1913

Closed
andylowry opened this issue Jan 24, 2016 · 1 comment
Closed

Overridden path-level parameters appear in operation display #1913

andylowry opened this issue Jan 24, 2016 · 1 comment

Comments

@andylowry
Copy link

If a parameter specified in the path-level "parameters" property has the same name and "in" values as a parameter specified for an operation, the path-level parameter should be overridden by the operation-level parameter. Swagger-UI shows both parameters in display of the operation in this case.

Try this gist in swagger-ui as an example:

https://gist.githubusercontent.com/andylowry/319b343dbf6c38a88bfa/raw/568c1f9fa41d84061e938d61cf76cafea6d5be0c/param-ovedrride.yaml

@andylowry andylowry changed the title Overridden path-level parameters appear operation display Overridden path-level parameters appear in operation display Jan 25, 2016
@webron
Copy link
Contributor

webron commented Jun 9, 2017

This is no longer an issue with the new UI.

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