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

V2/Northwind not conforming to OData V2 specification if $top is included due to missing "results" #154

Open
boghyon opened this issue May 18, 2022 · 2 comments

Comments

@boghyon
Copy link

boghyon commented May 18, 2022

Similar to the issue #119, the reference service Northwind does currently not comply with the OData V2 specification if the request URL contains the system query option $top.

@boghyon
Copy link
Author

boghyon commented Feb 12, 2023

@ralfhandl @mikepizzo Could you confirm whether the "results" property is a MUST in the above case with $top? Or is it optional? V2 sample services by SAP do include the "results" property even with $top expectedly.

@ralfhandl
Copy link

That's surprising behavior. The query options $top and $skip should just change the included entities and not change the response shape.

@boghyon boghyon changed the title Northwind not conforming to V2 specification if $top is included due to missing "results" V2/Northwind not conforming to OData V2 specification if $top is included due to missing "results" Jun 12, 2023
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