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

Prevent duplicate entries in operation and path item arrays #1259

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

MikeEdgar
Copy link
Member

Fixes #1256

When a parameter is present in both the operator parameters array and the path item parameters array, prefer the operation parameter and exclude the path item parameter.

Signed-off-by: Michael Edgar michael@xlate.io

When a parameter is present in both the operator parameters array and
the path item parameters array, prefer the operation parameter and
exclude the path item parameter.

Signed-off-by: Michael Edgar <michael@xlate.io>
@MikeEdgar MikeEdgar added the backport/2.x Issue pending backport to the 2.x series label Sep 15, 2022
@MikeEdgar MikeEdgar added this to the 3.1.0 milestone Sep 15, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

94.1% 94.1% Coverage
0.0% 0.0% Duplication

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Duplicate path params for subresources that reference param multiple times
2 participants