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

Support case-insensitive OData system query parameters #573

Closed
Ndiritu opened this issue Sep 3, 2024 · 2 comments
Closed

Support case-insensitive OData system query parameters #573

Ndiritu opened this issue Sep 3, 2024 · 2 comments

Comments

@Ndiritu
Copy link

Ndiritu commented Sep 3, 2024

OData 4.01 services support case-insensitive query parameters (without the $ prefix) e.g. filter, expand etc - https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#system-query-options

This should be reflected in the OpenAPI descriptions.

Here's an SDK customer scenario impacted by this.

@andrueastman
Copy link
Member

In my head this may actually be a service/workload issue.
$filter should be functionally equivalent to filter in odata 4.0 so using either shouldn't have different behavior. Specifying both in the openApi description would lead to larger openApi description and larger SDKs generated.

@Ndiritu
Copy link
Author

Ndiritu commented Sep 3, 2024

Oh I see. Thanks @andrueastman. I skimmed through the docs a bit too fast.
Closing this.

@Ndiritu Ndiritu closed this as completed Sep 3, 2024
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