Skip to content

Parameter aliases conflict with system query options#324

Merged
HeikoTheissen merged 8 commits intomainfrom
parameter-alias-at
Feb 12, 2025
Merged

Parameter aliases conflict with system query options#324
HeikoTheissen merged 8 commits intomainfrom
parameter-alias-at

Conversation

@HeikoTheissen
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@ralfhandl ralfhandl left a comment

Choose a reason for hiding this comment

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

@HeikoTheissen Could you please add test cases?

@ralfhandl ralfhandl self-requested a review January 30, 2025 10:16
if (
implicitAliases &&
csdl.$Version !== "2.0" &&
SYSTEM_QUERY_OPTIONS.includes(p.$Name)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be a case-insensitive comparison

@HeikoTheissen HeikoTheissen merged commit 1beb887 into main Feb 12, 2025
2 checks passed
@HeikoTheissen HeikoTheissen deleted the parameter-alias-at branch February 12, 2025 16:18
HeikoTheissen added a commit to HeikoTheissen/openapi that referenced this pull request Feb 14, 2025
Dipto-at-sap added a commit to cap-js/openapi that referenced this pull request Feb 26, 2025
* oasis-tcs/odata-openapi#324

* Test case

* Don't change indentation style

---------

Co-authored-by: Dipto <dipto.das@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

3 participants